Check out Smess, our featured variant for February, 2025.


[ 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

Game Courier Developer's Guide. Learn how to design and program Chess variants for Game Courier.[All Comments] [Add Comment or Rating]
Daniel Zacharias wrote on Thu, Feb 8, 2024 08:06 AM UTC:

I want a function that returns an array of all the spaces between two inputs. I've tried this

def getrange filter lambda (== direction #start #end direction #0 #end) (b3 c3 d3 e3 f3 g3 h3) =start =end;
set yy fn getrange b3 e3 ;
print #yy;

but the output is just an empty array. what am I doing wrong?