WBE_Miniprojekt/code/public/connect4.html

31 lines
814 B
HTML
Raw Permalink Normal View History

2022-12-21 20:45:47 +01:00
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Vier gewinnt</title>
<link rel="stylesheet" href="styles.css">
<script src="connect4-winner.js"></script>
<script src="render-sjdon.js"></script>
</head>
<body>
2022-12-22 18:31:12 +01:00
<div class="app"></div>
2022-12-21 20:45:47 +01:00
<div class="controls">
2022-12-22 18:31:12 +01:00
<button id="loadFromServer">Load from Server</button>
<button id="saveToServer">Save to Server</button>
<button id="loadFromStorage">Load from LocalStorage</button>
<button id="saveToStorage">Save to LocalStorage</button>
<button id="clearStorage">Clear LocalStorage</button>
<button id ="undo">Undo</button>
2022-12-21 20:45:47 +01:00
<p id="state-text"><a id="actualPlayer"></a>'s turn</p>
</div>
2022-12-22 18:31:12 +01:00
<script type="module">
import { initGame } from "./gamelogic.js"
2022-12-21 20:45:47 +01:00
initGame()
</script>
</body>
</html>