-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
118 lines (101 loc) · 3.01 KB
/
Copy pathindex.html
File metadata and controls
118 lines (101 loc) · 3.01 KB
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" type="text/css" href="css/style.css">
<script
src="https://code.jquery.com/jquery-3.2.1.js"
integrity="sha256-DZAnKJ/6XZ9si04Hgrsxu/8s717jcIzLy3oi35EouyE="
crossorigin="anonymous"></script>
<!-- <script src='js/game.js' charset="utf-8"></script> -->
<script src='js/main.js' charset="utf-8"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.5.2/animate.min.css">
<title>Document</title>
</head>
<body>
<h1 class="animated slideInDown" >Ryan's tic tac toe</h1>
<div>
<table id="tableOne" class="animated flipInX">
<tr class= 'row'>
<td id='1'></td>
<td id='2'></td>
<td id='3'></td>
</tr>
<tr class= 'row'>
<td id='4'></td>
<td id='5'></td>
<td id='6'></td>
</tr>
<tr class= 'row'>
<td id='7'></td>
<td id='8'></td>
<td id='9'></td>
</tr>
</table>
<table id="tableTwo" style="display: none" class="animated flipInX">
<tr class= 'row'>
<td id='1'></td>
<td id='2'></td>
<td id='3'></td>
<td id='4'></td>
</tr>
<tr class= 'row'>
<td id='5'></td>
<td id='6'></td>
<td id='7'></td>
<td id='8'></td>
</tr>
<tr class= 'row'>
<td id='9'></td>
<td id='10'></td>
<td id='11'></td>
<td id='12'></td>
</tr>
<tr class= 'row'>
<td id='13'></td>
<td id='14'></td>
<td id='15'></td>
<td id='16'></td>
</tr>
</table>
<div id="popDiv" style="display:none" >
<p class = "whoWins">X is the winner</p>
<button id="restartButton">restart</button>
</div>
</div>
<div id = "banner" class = "animated slideInUp">
Game start
</div>
<div id="scoreBoard" class="animated slideInUp">
<div class='panel'>
<span class="player1">player 1</span>
<span class="currentPlayer" >x</span>
<span class="currentPlayer"style="display: none">O</span>
<div class="score1">0</div>
</div>
<div class='panel'> Ties
<div class="scoreTie">0</div>
</div>
<div class='panel'>
<span class="playerAI1"> player 2</span>
<span class="playerAI1" style="display: none">computer</span>
<span class="currentPlayer" >O</span>
<span class="currentPlayer"style="display: none">X</span>
<div class="score2">0</div>
</div>
<div id="playerSwitch">
<button class="playerAI" id="clickAI">Against AI</button>
<button class="playerAI" style="display: none">Two players</button>
</div>
<div id ="swiftXO">
<button class="swift">x/o</button>
</div>
<div id ="table4x4">
<button class="swift2">4x4</button>
<button class="swift2" style="display: none">3x3</button>
</div>
</div>
</body>
</html>