X-Git-Url: https://git.auder.net/?p=vchess.git;a=blobdiff_plain;f=client%2Fsrc%2Fvariants%2FEightpieces.js;fp=client%2Fsrc%2Fvariants%2FEightpieces.js;h=92a4a909f4e0b59e9329e6258663073edb4fd975;hp=dc7580b32a63e806eb2eb6a6737e5ec7c9ab0bd9;hb=a0c805ddd5bf1c873167163037ccf0016fa39d02;hpb=abbda16dbd485dfc43ee502bbef67045b1aecc59 diff --git a/client/src/variants/Eightpieces.js b/client/src/variants/Eightpieces.js index dc7580b3..92a4a909 100644 --- a/client/src/variants/Eightpieces.js +++ b/client/src/variants/Eightpieces.js @@ -204,8 +204,8 @@ export class EightpiecesRules extends ChessRules { // => move sentry on other bishop for random color const c = sample(['w', 'b'], 1); pieceLine[c] = pieceLine[c] - .replace('b', 't'); //tmp - .replace('s', 'b'); + .replace('b', 't') //tmp + .replace('s', 'b') .replace('t', 's'); } }