Skip to content

Program that uses genetic algorithms and alpha/beta - killer algorithm to find the best possible strategy for playing 9 men morris

License

Notifications You must be signed in to change notification settings

d1mic/Nine-mens-morris-strategies

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nine-mens-morris-strategies

Program that uses genetic algorithms and alpha/beta - killer algorithm to find the best possible strategy for playing 9 men morris

💻 Getting started

This version is mainly tested on Ubuntu and MacOS

  • Setup enemies in 9MensMorrisGen.py ( use random generated or from the following paper)

  • Go into src file and run

$ g++ *.cpp

🕹️ Usage

If you are running the program for the first time:

$ python 9MensMorrisGen.py num_of_iterations -n

If you want to continue training the model from the last backup version

$ python 9MensMorrisGen.py num_of_iterations

Open log file to see the results of the execution

$ open information.log

🔧 Built using

  • Python - for genetic algorithm
  • C++ - for alpha/beta - killer algorithm

🎓 Authors

📖 License

This project is licensed under the MIT License - see the LICENSE.md file for details

About

Program that uses genetic algorithms and alpha/beta - killer algorithm to find the best possible strategy for playing 9 men morris

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published