summaryrefslogtreecommitdiff
path: root/strategies/first-valid-move.scm
AgeCommit message (Collapse)Author
2022-01-21Fleshed out Scheme primitivesRobby Zambito
* Moved board specific functions from othello.h to new othello_board.h * Removed unused function pointer for player moves * Added prototypes in headers for SCM functions, including scm_get_current_player, * Made get_winner accept a board and current player. This is useful for predictions to see if some move would make the other player a winner. * get_winner also writes the players scores to provided pointers.
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.