cypreess / py-mancala

Python mancala AI
15 stars 4 forks source link

py-mancala

Run on Repl.it

This is an implementation of MiniMax algorithm with alpha-beta prunning in Python 3 for creating AI capable of playing a Mancala game. Implementation makes use of multiprocessing python module, which overcome the GIL limitation and uses multiple processes to calculate best moves. This way it uses all available CPU.

Image of py mancala ai

Usage

Run ./mancala.py and it will start game simulation console.