-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
37 lines (35 loc) · 1.38 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, user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1'>
<meta http-equiv='X-UA-Compatible' content='ie=edge'>
<link rel='stylesheet' href='./styles.css' />
<title>Tic Tac Toe</title>
<!-- Require the file exposed by the socket.io app which hosted in localhost:3000: -->
<script defer src='http://localhost:3000/socket.io/socket.io.js'></script>
<!-- Require our script which use the `io` function (provided by the file required above) to get the socket variable: -->
<script defer src='./script.js'></script>
</head>
<body>
<h1>Tic Tac Toe</h1>
<div id='connected-users'>
<h2>Connected Users:</h2>
<div id='users-list'></div>
</div>
<div id='game' class='no-display'>
<div id='board'>
<div class='cell' id='cell-00'></div>
<div class='cell' id='cell-01'></div>
<div class='cell' id='cell-02'></div>
<div class='cell' id='cell-10'></div>
<div class='cell' id='cell-11'></div>
<div class='cell' id='cell-12'></div>
<div class='cell' id='cell-20'></div>
<div class='cell' id='cell-21'></div>
<div class='cell' id='cell-22'></div>
</div>
<p id='turn'>Your Turn</p>
</div>
</body>
</html>