blob: ed13d3d5dee13363303625f9eb824dad380b44e0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Puzzle Game</title>
<style>
canvas {
border: 1px solid black;
}
</style>
</head>
<body>
<canvas id="gameCanvas" width="500" height="500"></canvas>
<form id="commandForm">
<textarea id="commands" rows="10" cols="30"></textarea><br>
<button type="submit">Submit</button>
</form>
<script type="module">
import './parser.js';
import './commandHandler.js';
import './game.js';
</script>
</body>
</html>
|