Switch coords. It kinda works? But testing is annoying.
This commit is contained in:
parent
dffa96f5d0
commit
e0dd13caab
1 changed files with 2 additions and 1 deletions
|
@ -103,7 +103,8 @@
|
||||||
(array-map! arr (lambda () (spawn ^mark)))
|
(array-map! arr (lambda () (spawn ^mark)))
|
||||||
|
|
||||||
(methods
|
(methods
|
||||||
[(ref coords) (match coords ((x y) (array-ref arr x y)))]
|
;; Switch coords for clarity
|
||||||
|
[(ref coords) (match coords ((x y) (array-ref arr y x)))]
|
||||||
[(chosen? coords) (not (not ($ ($ self 'ref coords) 'get)))]
|
[(chosen? coords) (not (not ($ ($ self 'ref coords) 'get)))]
|
||||||
[(choose! coords mark-char)
|
[(choose! coords mark-char)
|
||||||
(if ($ self 'chosen? coords)
|
(if ($ self 'chosen? coords)
|
||||||
|
|
Loading…
Reference in a new issue