Check out Glinski's Hexagonal Chess, our featured variant for May, 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

Play Chess Variants with Jocly. Missing description[All Comments] [Add Comment or Rating]
H. G. Muller wrote on Mon, Mar 27, 2023 02:48 PM UTC in reply to Fergus Duniho from Sat Mar 25 08:38 PM:

I renamed the malett-chess* files to mallett-chess*, including in the control.php script, but I think it's still expecting the old name, because /play/jocly/mallett-chess does not load the game. Is there anything else I can change to get this to work?

In the Jocly tree there is a file dist/browser/jocly-allgames.js . I think Jocly learns from there what games it supports and where to find their model and view files. As far as I could determine only the model and view files in the /dist/browser/games/ sub-tree are needed for playing a game on-line; the files in the /src sub-tree are only used when you compile Jocly. (Which then creates the /dist sub-tree, where the model and view files are (uglified) concatenations of the source files that are specified in the model and view parts of the index.js file of the game 'module'.) For chess variants the model always includes the base-model.js.