Skip to content

Latest commit

 

History

History
16 lines (6 loc) · 770 Bytes

README.md

File metadata and controls

16 lines (6 loc) · 770 Bytes

Game of Sticks

In this project, I am creating a bot that learns the game of sticks. In the game of sticks there is a heap of sticks on a board. On getting the turn, each player picks up 1 to 3 sticks. The one who has to pick the final stick will be the loser.

This problem is taken from University of Helsinki AI problem. In the algorithm, two AI players play with each other and learn in the process that what should be the idle number of sticks to pick to at each step to win the game.

src/train_stick_game.py - Run this script to train the AI players

src/play_game.py* - Run this script to play the game with the trained AI player