This commit is contained in:
Vivianne 2023-07-06 23:27:29 -07:00
parent 79dae2e4a4
commit 0d5f6e6386

View file

@ -12,6 +12,9 @@
(define (make-board)
(make-array #f ggg-size ggg-size))
(define (board-ref board x y)
(array-ref board y x))
(define (board-assert-vacant board x y)
(define ref (board-ref board x y))
(if ref (error "That space is already occupied with:" ref) ref))