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 Courier. PHP script for playing Chess variants online.[All Comments] [Add Comment or Rating]
Aurelian Florea wrote on Tue, Feb 4, 2020 04:48 PM UTC:

I used to think game courier programming is easy. It's not that easy it seems.

I am trying to build up presets for frog chess, waffle chess and hannibal chess. Links here:

https://www.chessvariants.com/play/pbm/play.php?game=Frog+Chess&settings=RegularCastling

https://www.chessvariants.com/play/pbm/play.php?game=Waffle+Chess&settings=RegularCastling

https://www.chessvariants.com/play/pbm/play.php?game=Hannibal+Chess&settings=RegularCastling

Most I've done is copy paste from capblanca chess, then write the code for enforcing the frog, elelphant ferz and waffle respectivellly (don't bother with more than one they are virtually the same). But I don't now how to display those pieces legal moves (the "set display" command) or not display a move that will cause check. Any help? Thanks!...