Check out Glinski's Hexagonal Chess, our featured variant for May, 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 Sun, Aug 23, 2020 02:04 AM UTC:

I modified showLegal() slightly to leave out piece notation when parsing a move string. So, the only steps it considers are coordinates and piece notation concatenated with an * for drops. I also modified it to strip out forward slashes, which are used for inline comments. These two modifications are useful because of a trick I came up with for writing fission moves in Fusion Chess. I realized I could write the remaining part of the fission move as a comment, and even though it was a comment, this would allow a player to make a fission move by clicking on the origin space for the third click. After all, there is nothing in setLegal() that distinguishes between real moves and comments. In this case, the comment helps reveal something about the move that distinguishes it from the standard move. Since clicking on a space twice works only when all steps in a move have been used up, I had to eliminate piece notation as steps. This is fine, since they play no role in narrowing down legal moves.