-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
37 lines (33 loc) · 1.29 KB
/
index.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Authors: Andrii Doroshenko (@itsdorosh) and Kate Fastovets (@katfastovets);
A minimalistic first-person shooter in which you have to shoot emojis flying at you. 😈
Game has support for gamepads.">
<title>Emoji Shooter</title>
<link rel="icon" href="assets/favicon.ico" type="image/x-icon"/>
<link rel="stylesheet" href="./main.css">
</head>
<body>
<div id="headerContainer" class="position-absolute">
<p id="pointsCount">Count: 0</p>
<button id="pauseButton">Pause ⏸</button>
</div>
<div id="menuContainer" class="position-absolute">
<h1 id="greetingCaption">Emoji Shooter 🔫</h1>
<h1 id="gameOverCaption" class="hidden">GAME OVER</h1>
<button id="playButton">Play ▶️</button>
<button id="restartButton" class="hidden">Restart 🔄</button>
</div>
<div id="toolbarContainer" class="position-absolute">
<button id="gamepad">🎮</button>
<button id="mouse">🖱</button>
<button id="fullscreen">📺️</button>
</div>
<div id="canvasContainer"></div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r128/three.js"></script>
<script type="module" src="src/main.js"></script>
</body>
</html>