Check out Modern Chess, our featured variant for January, 2025.


[ 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 Sat, Feb 10, 2024 01:48 PM UTC in reply to François Houdebert from 11:12 AM:
    var janus={ // asymmetric, to b- or i-file
        "4/0": {k:[3,2,1],r:[1,2],n:"O-O"},
        "4/9": {k:[5,6,7,8],r:[8,7],n:"O-O-O"},
        "74/70": {k:[73,72,71],r:[71,72],n:"O-O"},
        "74/79": {k:[75,76,77,78],r:[78,77],n:"O-O-O"},
    } 

Perhaps we should also provide a 'convenience function' in fairy-piece-model for creating such tables, so that we could simply write

var janus = cbCastlingDef(4, 0, 9, 74, 70, 79);

where the first-mentioned Rook would get notation O-O, and the second O-O-O.