Ludii Forum
Cylinder chess - Printable Version

+- Ludii Forum (https://ludii.games/forums)
+-- Forum: Suggestions (https://ludii.games/forums/forumdisplay.php?fid=10)
+--- Forum: Submit Your Games (https://ludii.games/forums/forumdisplay.php?fid=23)
+--- Thread: Cylinder chess (/showthread.php?tid=1738)



Cylinder chess - xenos1984 - 01-28-2024

I have implemented cylinder chess:

https://github.com/xenos1984/GamesLudii/blob/master/Chess/RankCylinderChess.lud

It does have a few issues which I couldn't fix yet:
  • Check is not recognized - this seems to be an issue with the is Threatened ludeme: https://ludii.games/forums/showthread.php?tid=402
  • Castling produces an error message: "Move ... has an illegal mover (0). If you see this in an official Ludii game, please report it to us."

The implementation of the cylindrical board required a few tricks, since Ludii does not support custom direction definitions:
  • Sliding pieces are implemented by defining tracks which follow the horizontal / vertical / diagonal directions on the cylindrical board.
  • Stepping and leaping pieces are implemented by calculating the offset between the (from) and (to) cells (which are integers from 0 to 63).

Suggestions and improvements are welcome.


RE: Cylinder chess - xenos1984 - 02-12-2024

I have updated the repository and the rules are now at this link:

https://github.com/xenos1984/BoardGames/blob/master/Ludii/Chess/RankCylinderChess.lud