GenericGame is a generic Monte-Carlo tree search engine. This code has been developped in the context of an internship for computer science master degree studies.
GenericGame is a Monte Carlo tree search engine applying Monte-Carlo tree search on combinatorial games, where the game specific properties are defined in standard.py file
- Python 3.7 or upper
- Mongodb database
- Python-chess library
- Tkinter for tictactoe
- Qt5 for chess
- Clone this project locally
- Run the tictactoe_GUI.py or chess_Gui.py
- launch in terminal:
python3 chess_Gui.py
orpython3 tictactoe_Gui.py
If you want to apply MCTS engine to your new game, you have to follow the following steps:
- Clone the project or download it
- Be aware of the game specific operations declared in standard.py file
- Encode your game according to the standard.py template
- launch your game with console or with a GUI
python3 <YourGame.py>
Your contribution is the power of the open-source community, so if you notice any issue or a possible improvement, your contributions will be greatly appreciated
- Create a personal fork of the project on Github.
- Clone the fork on your local machine
git clone https://github.com/PFE-MCTS/MCTS-Games
- Commit your changes.
git commit -m ' your message'
- Push to the branch.
git push origin <the origin of your forked github repo >
- Create a pull-request.
Distrubuted under an MIT licence.
-
Lebbah Yahia: Email: ylebbah@gmail.com ------ Linkedin: Lebbah Yahia
-
Bekkoucha djawad: Email: bekhouchadjawed@gmail.com ------ Linkedin: bekhoucha djawed
-
Brahimi Aziz: Email: aziz981@live.com ------ Linkedin: Brahimi aziz
-
Belmecheri Nassim: Email: nassimbb07@gmail.com ------ Linkedin: Belmecheri Nassim