forked from JanekKar/JanekKar.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
40 lines (35 loc) · 1.04 KB
/
index.html
File metadata and controls
40 lines (35 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="style.css">
<link rel="icon" type="image/svg" href="/svg/favicon.svg" />
<script src="https://cdn.jsdelivr.net/npm/phaser@3.15.1/dist/phaser-arcade-physics.min.js"></script>
<title>DUCKS</title>
</head>
<body>
<div id="game">
<canvas id="canvas"></canvas>
<script src='script.js'></script>
</div>
<div id="right-panel">
<h3>SELECT MODE</h3>
<ul class="no-bullets">
<li>
<button id="cooperate" onclick="setCooperateMode()">COOPERATIVE</button>
</li>
<li>
<button id="enemy" onclick="setEnemyMode()">VERSUS</button>
</li>
<li>
<button id="single" onclick="setSingleMode()">SINGLE</button>
</li>
</ul>
<h3>GAME:</h3>
<ul class="no-bullets">
<li>
<button id="new_game" onclick="startNewGame()">NEW GAME</button>
</li>
</ul>
</div>
</body>
</html>