Check out Chess with Different Armies, our featured variant for July, 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

Game Courier Developer's Guide. Learn how to design and program Chess variants for Game Courier.[All Comments] [Add Comment or Rating]
🕸📝Fergus Duniho wrote on Wed, May 29 07:31 PM UTC:

I just made a modification to unless, because it was returning 1 for "a unless true" instead of nothing like "a onlyif false" would. The reason for this is that in each case, it was returning the first value after unless or onlyif, but onlyif was returning it if false, and unless was returning it if true. So, I have changed unless to return false when it has a single true argument. This allows something like "print a unless true" to work as expected and print nothing.