Add loading functionality

This commit is contained in:
2021-11-05 23:22:28 +01:00
parent 6d0548455e
commit 9e95b4c202
6 changed files with 80 additions and 15 deletions

View File

@@ -4,7 +4,19 @@
</head>
<body>
<h1>Assassin bug</h1>
<div aria-live="polite" id="output-area"></div>
<input type="text" id="input-area" placeholder="Type command" />
<div id="play-area" hidden=true>
<div aria-live="polite" id="output-area"></div>
<input type="text" id="input-area" placeholder="Type command" />
</div>
<div id="save-game-found" hidden=true>
<h1>Found a save game</h1>
<button id="load-save-game">Load</button>
<button id="start-new-game">New</button>
</div>
<div id="before-play">
<h1>Welcome</h1>
<button id="begin">Begin the adventure</button>
</div>
</body>
</html>