Skip to content

alexandremartens/Backgammon

Repository files navigation

Backgammon_python

In this project, we created a Backgammon UI and AI.

Prerequisite to launch Backgammon.py: pygame library.

Use the following command from your IDE to install pygame:

python3 -m pip install -U pygame --user

or use the anaconda package manager.
For more information about the pygame library: https://www.pygame.org/wiki/GettingStarted

Launch Backgammon.py file to start the game.

It will first automatically run the dices for you to determine wich color starts.
You can then roll the dices by clicking on the 'DICE ROLL' button.
It will roll 2 dices for you and display them on the right hand side of the board.

Select a highlighted pawn and click on it with your MOUSE.

Select a highlighted destination by using:

- UP KEY : to select the upper dice play

- DOWN KEY: to select the lower dice play

DEMO Video: https://user-images.githubusercontent.com/56159200/149554656-34d14bb0-b726-4741-a8a2-abaf91b89f95.mov

PowerPoint presentation: https://docs.google.com/presentation/d/17iLU6sZd35CAuY8IM_XnmVYaVOxSq9SY/edit?usp=sharing&ouid=115549282468554263000&rtpof=true&sd=true

About

Backgammon UI with AI in Python

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages