You can find the rules of nim here. AI learns to play the game with Q-learning.
- Clone with:
git clone https://github.com/4ndrelim/nim.git
- Run play.py
- Play against AI by inputting the pile number and number of objects to remove.
- Adjust pre-defined hyperparams at config.py