forked from tobyf93/WDI-Project-0
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
56 lines (46 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Tic Tac Toe - By Toby Flemming</title>
<link rel="stylesheet" href="css/main.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/1.16.1/TweenMax.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script src="js/main.js"></script>
<script src="js/animation.js"></script>
<script src="js/ai.js"></script>
</head>
<body>
<!--
- Reset button
- X wins
- O wins
-->
<div id="game">
<div id="message"></div>
<div id="board">
<!-- Row 1 -->
<div class="row" data-row="0">
<div class="cell" data-col="0"></div>
<div class="cell" data-col="1"></div>
<div class="cell" data-col="2"></div>
</div>
<!-- Row 2 -->
<div class="row" data-row="1">
<div class="cell" data-col="0"></div>
<div class="cell" data-col="1"></div>
<div class="cell" data-col="2"></div>
</div>
<!-- Row 3 -->
<div class="row" data-row="2">
<div class="cell" data-col="0"></div>
<div class="cell" data-col="1"></div>
<div class="cell" data-col="2"></div>
</div>
</div>
<div id="restart" class="button">Restart Game</div>
<input id="toggle" type="checkbox">
</div>
<!-- <div id="xScore" class="score">10</div> -->
</body>
</html>