summaryrefslogtreecommitdiff
path: root/strategies
AgeCommit message (Collapse)Author
2022-01-18Added a slightly more interesting AIguile-playerRobby Zambito
This AI will simply pick the first valid move it finds. This is pretty much the most basic AI that a full game can be played against.
2022-01-18* Made print_board accept a board to print.Robby Zambito
* free_board should not return anything. * is_valid_move and has_valid_moves accept a board. * Implemented primitives for Scheme strategies to get the current player, and to get the board, and the validity of a move. * Removed game logic from is_valid_move. Instead simply apply the move to a temp board, and see if the move worked. * Created a very simple strategy for testing these primitives. It only hardcodes the first move, and then fails since that move is no longer valid.