+ clickGameSeek: function() {
+ if (this.mode == "human")
+ return; //no newgame while playing
+ if (this.seek)
+ delete localStorage["newgame"]; //cancel game seek
+ else
+ {
+ localStorage["newgame"] = variant;
+ this.newGame("human");
+ }
+ this.seek = !this.seek;
+ },
+ clickComputerGame: function() {
+ if (this.mode == "human")
+ return; //no newgame while playing
+ this.newGame("computer");
+ },