Fix fix
This commit is contained in:
parent
79dae2e4a4
commit
0d5f6e6386
1 changed files with 3 additions and 0 deletions
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue