diff options
author | Robby Zambito <contact@robbyzambito.me> | 2022-01-25 22:07:12 -0500 |
---|---|---|
committer | Robby Zambito <contact@robbyzambito.me> | 2022-01-25 22:07:12 -0500 |
commit | 2206201ed53f3d3c51a2687772fdb8c908bb11e2 (patch) | |
tree | 7ffab422327d9d86ccba8fff9d212cdf33ef16d5 /README.md | |
parent | 8522d9cbe81dd982bab1bdebec89b5b4e1c66ec3 (diff) |
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -21,6 +21,18 @@ Function: (other-player) this operation is likely to be common, it is provided as a primitive for convenience. +Function: (move row col) + + Constructs a new move object with the provided row and col. + +Function: (move->row m) + + Selects the row from move `m`. + +Function: (move->col m) + + Selects the col from move `m`. + Function: (valid-move? move #:optional board player) Returns #t or #f based on if the provided move is valid or not on a board by a player. |