From e0dd13caab2bff2d94b1338103de60713a64ecda Mon Sep 17 00:00:00 2001 From: Vivianne Langdon Date: Sat, 11 Feb 2023 22:34:46 -0800 Subject: [PATCH] Switch coords. It kinda works? But testing is annoying. --- gib-gab-gob/actors.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gib-gab-gob/actors.scm b/gib-gab-gob/actors.scm index 92cda0a..fb78dc9 100644 --- a/gib-gab-gob/actors.scm +++ b/gib-gab-gob/actors.scm @@ -103,7 +103,8 @@ (array-map! arr (lambda () (spawn ^mark))) (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)))] [(choose! coords mark-char) (if ($ self 'chosen? coords)