The number of chess variants implemented in Jocly raelly starts to explode, and with it the size of the src/games/chessbase directory. (As each variant has several filles there: a model and a view, a thumbnail, a description, credits, rules...)
Perhaps we should make a cleanup attempt, where we create a sub-directory in chessbase for every variant, and move all files related to that variant there. That would make the sources a lot less messy. An alternative would be to put a modest number of variants that are somehow similar into a single sub-directory. E.g. all 10x8 chess with BN and RN, all variants invented by the same person, etc.
We should also decide on how to organize the res/fairy directory for new pieces. Perhaps it is a good idea to put pieces that are only slight variations on each other in the same subdirectory. I have for instance added many resized pieces (which can continue using the same normamap and diffusemap), to get a better correspondence between size and importance in many games. The alternative crowned bishop and crowned rook could likewise share the directory with the existing versions. When I create a distorted version of a piece (which also can use the same maps) I also put it in the directory of the piece it was derived from.
The number of chess variants implemented in Jocly raelly starts to explode, and with it the size of the src/games/chessbase directory. (As each variant has several filles there: a model and a view, a thumbnail, a description, credits, rules...)
Perhaps we should make a cleanup attempt, where we create a sub-directory in chessbase for every variant, and move all files related to that variant there. That would make the sources a lot less messy. An alternative would be to put a modest number of variants that are somehow similar into a single sub-directory. E.g. all 10x8 chess with BN and RN, all variants invented by the same person, etc.
We should also decide on how to organize the res/fairy directory for new pieces. Perhaps it is a good idea to put pieces that are only slight variations on each other in the same subdirectory. I have for instance added many resized pieces (which can continue using the same normamap and diffusemap), to get a better correspondence between size and importance in many games. The alternative crowned bishop and crowned rook could likewise share the directory with the existing versions. When I create a distorted version of a piece (which also can use the same maps) I also put it in the directory of the piece it was derived from.