Fix
This commit is contained in:
parent
ffddf2a975
commit
79dae2e4a4
1 changed files with 2 additions and 2 deletions
|
@ -12,12 +12,12 @@
|
|||
(define (make-board)
|
||||
(make-array #f ggg-size ggg-size))
|
||||
|
||||
(define (board-assert-vacant x y)
|
||||
(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))
|
||||
|
||||
(define (board-choose! board val x y)
|
||||
(board-assert-vacant)
|
||||
(board-assert-vacant board x y)
|
||||
(array-set! board val y x))
|
||||
|
||||
(define (board-display board)
|
||||
|
|
Loading…
Reference in a new issue