-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
23 lines (22 loc) · 971 Bytes
/
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Online Game</title>
<link rel="stylesheet" href="/css/style.css">
</head>
<body>
<input type="text" id="name-inp" placeholder="Name">
<img src="/img/cursor.png" id="option-button1" alt="cursor image">
<img src="/img/arrow-keys.png" id="option-button2" alt="arrow keys">
<img id="weapon" src="/img/ak47-model2.png" alt="current weapon">
<div class="images" style="display: none;">
<img src="/img/rip.png" id="death-img" alt="">
</div>
<canvas id="display"></canvas>
<script src="https://cdn.socket.io/4.4.0/socket.io.min.js" integrity="sha384-1fOn6VtTq3PWwfsOrk45LnYcGosJwzMHv+Xh/Jx5303FVOXzEnw0EpLv30mtjmlj" crossorigin="anonymous"></script>
<script src="/js/game.js" type="module"></script>
</body>
</html>