- display: "game", //default: play!
- problem: undefined, //current problem in view
+ display: "room", //default: main hall
+ gameid: "undefined", //...yet
+ },
+ created: function() {
+ // TODO: navigation becomes a little more complex
+ const url = window.location.href;
+ const hashPos = url.indexOf("#");
+ if (hashPos >= 0)
+ this.setDisplay(url.substr(hashPos+1));