Check out Janggi (Korean Chess), our featured variant for December, 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

Omega Chess. This preset for Omega Chess enforces the rules and spots check, checkmate, and stalemate.[All Comments] [Add Comment or Rating]
🕸📝Fergus Duniho wrote on Sun, Feb 4 09:21 PM UTC in reply to Kevin Pacey from 08:27 PM:

I just tried substituting the fairychess include file for the chess2 include file without making any other changes to Brawl Chess enforced preset, and I immediately had a fatal error.

That's not how to do it. It introduces a new programming paradigm that earlier include files do not use. It mainly involves copying some code, naming your pieces, and setting some parameters. Since the fairychess include file already includes definitions of many pieces, it cuts down on how many pieces you have to program yourself.

The tutorial for the fairychess include file looks very involved and I worry I might have to change/add a lot of code (never mind that I cannot seem to figure out yet how fairychess file might be able to handle K-3-step-castling in either direction as in Capablanca Chess, if it can), a process I don't understand much for Game Courier, being very rusty at programming.

How castling is defined has not changed. It involves storing the spaces each King may move to when castling into its own variable, either wcastle or bcastle. I found I had already begun work on a preset for Capablanca's Chess using the fairychess include file, and I just completed it and made it the new one. Here's a link:

https://www.chessvariants.com/play/pbm/play.php?game%3DCapablanca+Chess%26settings%3Dfairychess