el: "#variantPage",
data: {
display: "room", //default: main hall
+ gameid: "undefined", //...yet
},
created: function() {
// TODO: navigation becomes a little more complex
},
},
});
+
+const continuation = (localStorage.getItem("variant") === variant);
+ 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 !