- display: "play", //default: play!
- problem: undefined, //current problem in view
+ display: "undefined", //default to main hall; see "created()" function
+ gameid: undefined, //...yet
+ queryHash: "",
+ conn: null,
+
+ // Settings initialized with values from localStorage
+ settings: {
+ bcolor: localStorage["bcolor"] || "lichess",
+ sound: parseInt(localStorage["sound"]) || 2,
+ hints: parseInt(localStorage["hints"]) || 1,
+ coords: !!eval(localStorage["coords"]),
+ highlight: !!eval(localStorage["highlight"]),
+ sqSize: parseInt(localStorage["sqSize"]),
+ },
+
+ // TEMPORARY: DEBUG
+ mode: "analyze",
+ orientation: "w",
+ userColor: "w",
+ allowChat: false,
+ allowMovelist: true,
+ fen: V.GenRandInitFen(),