X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fvariants%2FScreen.js;h=7ccb5a5dae5cc1eda8f71a63b3e6849a76cbbb0d;hb=ded43c88fad60fd8f9bb46aabd67f3f2092f65f3;hp=0a8a75e2989e9247fdb74f2c8701424d714694f3;hpb=39fe711a185ee73c907f3d61ddd459a33f40696b;p=vchess.git diff --git a/client/src/variants/Screen.js b/client/src/variants/Screen.js index 0a8a75e2..7ccb5a5d 100644 --- a/client/src/variants/Screen.js +++ b/client/src/variants/Screen.js @@ -12,10 +12,6 @@ export class ScreenRules extends ChessRules { return false; } - get showFirstTurn() { - return true; - } - get canAnalyze() { return this.movesCount >= 2; } @@ -65,7 +61,7 @@ export class ScreenRules extends ChessRules { for (let i=0; i<4; i++) { for (let j=0; j<8; j++) this.enlightened['b'][i][j] = true; } - for (let i=5; i<8; i++) { + for (let i=4; i<8; i++) { for (let j=0; j<8; j++) this.enlightened['w'][i][j] = true; } }