Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 623 Bytes

File metadata and controls

13 lines (9 loc) · 623 Bytes

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.