Some fixes. Screen variant computer play is still broken, seemingly
[vchess.git] / client / src / variants / Screen.js
index 0a8a75e..7ccb5a5 100644 (file)
@@ -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;
       }
     }