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

GAME Code help[Subject Thread] [Add Response]
Nick Wolff wrote on Wed, Jun 21, 2017 02:58 AM UTC:

In regards to programming, how do moves that can end in 2 different board positions work?  I'm specifically addressing Wildebeest Chess - a King can castle 1-4 spaces away from the start square.  With my code, I can castle to any of those squares except the one right next to the King.  Moving there does not result in a castle that should be legal, just a King move.  Is that a matter of programming or is that a matter of game notation?  

I used the allow command to grant an additional move and tried to even type a movement out for the rook to move, but it deemed the move illegal.

Is GC able to handle moves (aside from promotions) that can have different outcomes on the board?  If so, how would it be done?