Check out Grant Acedrex, our featured variant for April, 2024.


[ Help | Earliest Comments | Latest Comments ]
[ List All Subjects of Discussion | Create New Subject of Discussion ]
[ List Earliest Comments Only For Pages | Games | Rated Pages | Rated Games | Subjects of Discussion ]

Single Comment

Zillions of Games. It can play an endless variety of abstract board games, and we have a large collection of Chess variants you can play on it.[All Comments] [Add Comment or Rating]
🕸📝Fergus Duniho wrote on Wed, Nov 8, 2023 06:11 PM UTC in reply to Fergus Duniho from 04:37 PM:

Since the first two conditions have the same effect, this might also work:

(define push-n (n (while on-board? (if (or empty? (in-zone? board-edge-n)) add else (cascade n)))))

And let's try a general push routine without the zone:

(define push ($1 (while on-board? (if (or empty? (not-on-board? $1)) add else (cascade $1)))))