-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
76 lines (72 loc) · 2.51 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<!DOCTYPE html>
<html>
<head>
<title></title>
<link rel="stylesheet" href="css/tic-tac-toe.css" />
<meta charset="UTF-8" />
</head>
<body>
<div id="game">
<h1>Tic Tac Toe Game</h1>
<div id="choosing-character">
<h3>Choose Your Shape</h3>
<div id="field">
<a class="character" id="player-choice-1" tabindex="-1">X</a>
<a class="character" id="player-choice-2" tabindex="-1">O</a>
</div>
</div>
<h3 id="turn-shown"></h3>
<div id="board">
<button class="cell" id="cell0">
<span class="cell-content"></span>
</button>
<button class="cell" id="cell1">
<span class="cell-content"></span>
</button>
<button class="cell" id="cell2">
<span class="cell-content"></span>
</button>
<button class="cell" id="cell3">
<span class="cell-content"></span>
</button>
<button class="cell" id="cell4">
<span class="cell-content"></span>
</button>
<button class="cell" id="cell5">
<span class="cell-content"></span>
</button>
<button class="cell" id="cell6">
<span class="cell-content"></span>
</button>
<button class="cell" id="cell7">
<span class="cell-content"></span>
</button>
<button class="cell" id="cell8">
<span class="cell-content"></span>
</button>
</div>
<script type="text/javascript" src="//imasdk.googleapis.com/js/sdkloader/ima3.js"></script>
<!-- <script src="js/ads.js"></script> -->
<div id="ad-container"></div>
</div>
<div id="modal-overlay">
<div id="game-result-modal">
<div id="result-container">
<div id="winner-container">
<span id="winner-span"></span>
</div>
</div>
</div>
<div id="new-game-container">
<div class="new-game-buttons" id="new-game">
<button id="new-game-button">Start New Game</button>
</div>
<div class="new-game-buttons" id="exit-game">
<button id="exit-game-button">Exit Game</buttom>
</div>
</div>
</div>
<script src="js/tic-tac-toe.js"></script>
<noscript>Enable JavaScript to run the game</noscript>
</body>
</html>