summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorRobby Zambito <contact@robbyzambito.me>2022-01-25 22:07:12 -0500
committerRobby Zambito <contact@robbyzambito.me>2022-01-25 22:07:12 -0500
commit2206201ed53f3d3c51a2687772fdb8c908bb11e2 (patch)
tree7ffab422327d9d86ccba8fff9d212cdf33ef16d5 /README.md
parent8522d9cbe81dd982bab1bdebec89b5b4e1c66ec3 (diff)
Added move constructor and extract row and colHEADmaster
Diffstat (limited to 'README.md')
-rw-r--r--README.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/README.md b/README.md
index 14effa8..1a4ee8c 100644
--- a/README.md
+++ b/README.md
@@ -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.