Code for finding the next step on reversi using Alpha Beta Pruning
This was a fun exercise to implement Alpha-Beta pruning algorithm to determine the best next play for a given player.
Each input should contain
- player to move (X or O)
- search cut-off depth
- game position (including the board state and the player to move)
Check input directory for examples.
To run the code,
python reversi.py