Check out Atomic Chess, our featured variant for November, 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

Chess. Play Chess with Jocly.[All Comments] [Add Comment or Rating]
🕸Fergus Duniho wrote on Sun, Apr 10, 2016 03:39 PM UTC:
<P>So that I don't interfere with people playing Grotesque Chess, I have been trying things with <A HREF="/play/jocly/univers.html">Univers Chess</A>, which has the same castling rule.</P> <P>Setting castle to {} and removing "castle: true," from the Rook's definition both completely disabled castling. Removing castling moves from extraCastle would eliminate the duplication, but it would leave the game with two different methods for castling. My aim is to use the same method of castling for all castling moves.</P> <P>Looking at the base model for Chess, it looked like Model.Board.cbGeneratePseudoLegalMoves would be a suitable method to modify, but simply including it in the custom model without any modification has the effect of disabling all moves. To check whether the code I got from the Jocly Game Inspector was up-to-date, I used Firebug to look at the code it loaded from the base model, and nothing was different. </P> <P>As a further test, I copied Model.Board.cbApplyCastle into my custom model, and it didn't hurt anything.</P>