new Vue({
- el: "#variantPage",
+ el: "#VueElement",
data: {
display: "room", //default: main hall
gameid: "undefined", //...yet
},
},
});
+
+//const continuation = (localStorage.getItem("variant") === variant.name);
+// if (continuation) //game VS human has priority
+// this.continueGame("human");
// TODO:
// si quand on arrive il y a une continuation "humaine" : display="game" et retour à la partie !