Skip to content

aknandi/backgammon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

103 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

backgammon

Python modules to play backgammon (human or computer)

System Requirements

  • Python 3 (you may need to change the commands below to python3 ... if that is how you run python 3 on your machine)

How to run the game

  • Human vs Computer: run python single_player.py, then choose the computer strategy to play against
  • Human vs Human: run python two_player.py
  • Computer vs Computer: run python main.py The two 'players' can have different strategies. This runs many games with a different 'player' starting each time and returns the probability of the strategies being equally good.

About

Python modules to play backgammon (human or computer)

Resources

Stars

5 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors