-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
50 lines (45 loc) · 1.64 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="A simple tic tac toe game built using HTML, CSS, Javascript, which consists of a bot created using the Minimax algorithm. Play with it for a while and if possible try to beat it.">
<meta name="author" content="Leonlit">
<meta name="keywords" content="HTML, CSS, JS, Browser-game, tic-tac-toe, saintpopo">
<link rel="stylesheet" href="css/mobile.css"/>
<link rel="stylesheet" href="css/tablet.css"/>
<link rel="stylesheet" href="css/desktop.css"/>
<title>Tic Tac Toe </title>
</head>
<body>
<div id="scoreBoard">
<label>Player</label>
<span id="playerScore">0</span>
<label>Computer</label>
<span id="enemyScore">0</span>
</div>
<span id="restart" onclick="gameInit();playSound(1);">Clear</span>
<div></div>
<table class="gameBoard center_FixedContAndText">
<tr>
<td id="0"></td>
<td id="1"></td>
<td id="2"></td>
</tr>
<tr>
<td id="3"></td>
<td id="4"></td>
<td id="5"></td>
</tr>
<tr>
<td id="6"></td>
<td id="7"></td>
<td id="8"></td>
</tr>
</table>
<div id="shader"></div>
<div class="center_FixedContAndText" id="gameOver"><div id="close" onclick="playSound(1)">✖</div><div class="center_FixedContAndText">The match result is :<br><br><span id="winTeam"></span></div></div>
</body>
</html>
<script src="scripts/index.js?10000"></script>
<script src="scripts/boardSystem.js?10000"></script>