31 lines
814 B
HTML
31 lines
814 B
HTML
<!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>
|
|
|
|
<div class="app"></div>
|
|
|
|
<div class="controls">
|
|
<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>
|
|
<p id="state-text"><a id="actualPlayer"></a>'s turn</p>
|
|
</div>
|
|
|
|
<script type="module">
|
|
import { initGame } from "./gamelogic.js"
|
|
initGame()
|
|
</script>
|
|
|
|
</body>
|
|
</html> |