Skip to content

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.

License

Notifications You must be signed in to change notification settings

PFE-MCTS/MCTS-Games

Repository files navigation

License: MIT

GenericGame

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.

Overview

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

Dependencies

  1. Python 3.7 or upper
  2. Mongodb database
  3. Python-chess library
  4. Tkinter for tictactoe
  5. Qt5 for chess

Running this project locally

  1. Clone this project locally
  2. Run the tictactoe_GUI.py or chess_Gui.py
  3. launch in terminal: python3 chess_Gui.py or python3 tictactoe_Gui.py

Applying it to your game

If you want to apply MCTS engine to your new game, you have to follow the following steps:

  1. Clone the project or download it
  2. Be aware of the game specific operations declared in standard.py file
  3. Encode your game according to the standard.py template
  4. launch your game with console or with a GUI python3 <YourGame.py>

Contributing

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

  1. Create a personal fork of the project on Github.
  2. Clone the fork on your local machine git clone https://github.com/PFE-MCTS/MCTS-Games
  3. Commit your changes. git commit -m ' your message'
  4. Push to the branch. git push origin <the origin of your forked github repo >
  5. Create a pull-request.

Licence

Distrubuted under an MIT licence.

Contact

Acknowledgements

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages