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 07:02 PM UTC:
<P>Thanks, I copied View.Board.xdInput to capachess-custom-view.js, made the one change, and it worked. While testing positions, I also learned that I need to define the regular castling moves as the shortest castling moves. When I had them defined as the longest castling moves, all castling moves on one side would be disabled if the longest one was illegal thanks to a space being attacked. Changing it to the shortest castling moves, I then tested whether castling to b1 would be legal if c1 were attacked, and it wasn't legal, which is good, but castling to d1 was still legal, which was also good. So it is working now, and it even changed how castling works in Capablanca's Chess. Now I just need to modify the regular castling in Grotesque Chess to use the shortest castling moves.</P>