-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
51 lines (50 loc) · 1.36 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<meta charset="UTF-8" />
<div class="header">
<h1>Tic Tac @ Ashish</h1>
</div>
<body>
<div class="parentTop">
<div class="gridTop">
<div id="grid"></div>
</div>
</div>
<div class="gameEventModal">
<div class="gameEventModalContent">
Player Name
<input
id="playerName"
type="text"
autocomplete="off"
placeholder="Enter your name"
/>
</div>
<div class="gameEventModalContent">
Grid Size
<input
id="gridSize"
type="text"
autocomplete="off"
placeholder="Eg:Input 3 for 3x3 board"
/>
</div>
<div class="gameEventModalContent">
<button onclick="setDifficulty(1);changeName()">Easy</button>
<button onclick="setDifficulty(2);changeName()">Medium</button>
<button onclick="setDifficulty(3);changeName()">Skynet</button>
<div class="playButton">
<button onclick="callMe()" id="playButton">Quick Game</button>
</div>
</div>
</div>
<div class="winnerModal">
<div class="winnerModalContent"></div>
</div>
<div class="gameEventModal" style="display: none" id="loaderId">
<div class="gameEventModalContent">
Computer is thinking....
<div class="loader"></div>
</div>
</div>
<script type="text/javascript" src="./index.js"></script>
<link rel="stylesheet" href="./index.css" />
</body>