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]
A. M. DeWitt wrote on Wed, Feb 7 01:18 PM EST in reply to François Houdebert from 12:26 PM:

After maybe moving up a Pawn on each side, you move a random non-Pawn piece on each side without capturing anything, ensuring as few positional repeats as possible to avoid 3-fold repetition.

I found the problem. You have the wrong number of plies in your check for the 64-move rule, as shown below:

                if(this.noCaptCount>=124) { // this draws after 62 moves (62 * 2  = (50 + 12) * 2 = (50 * 2) + (12 * 2) = 100 + 24 = 124)
                    this.mFinished=true;
                    this.mWinner=JocGame.DRAW;                    
                }

The number 124 should be 128 (64 * 2  = (50 + 14) * 2 = (50 * 2) + (14 * 2) = 100 + 28 = 128). Like so:

                if(this.noCaptCount>=128) {
                    this.mFinished=true;
                    this.mWinner=JocGame.DRAW;                    
                }