01-28-2024, 06:55 PM
I have implemented cylinder chess:
https://github.com/xenos1984/GamesLudii/...rChess.lud
It does have a few issues which I couldn't fix yet:
The implementation of the cylindrical board required a few tricks, since Ludii does not support custom direction definitions:
Suggestions and improvements are welcome.
https://github.com/xenos1984/GamesLudii/...rChess.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.