+ this.orientation = this.gameInfo.mycolor || "w"; //default orientation for observed games
+ this.score = this.gameInfo.score; //mutable (if initially "*")
+ this.moves = this.gameInfo.moves; //TODO: this is mutable; make a copy instead
+ const L = this.moves.length;
+ this.cursor = L-1;
+ this.lastMove = (L > 0 ? this.moves[L-1] : null);