-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathonep_game.html
42 lines (42 loc) · 1.85 KB
/
onep_game.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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF=8">
<meta name="description" content="Tic Tac Toe game">
<title>Tic Tac Toe </title>
<link rel="stylesheet" href="style.css">
<link rel="stylesheet"
href="https://fonts.googleapis.com/css?family=Tangerine">
<link href="https://fonts.googleapis.com/css?family=Ma+Shan+Zheng&display=swap" rel="stylesheet">
<script src="main.js"></script>
<script>oneplayermode();</script>
</head>
<body>
<h1 id="heading" style="font-size:60px; color: red; text-align:center;">Tic Tac Toe: Single Player</h1>
<b><a href="index.html"><input type="button" class="button" value="Home Page" style="float: left; font-size: 18px;"></input></a>
<a href="onep_info.html"><input type="button" class="button" value="Single Player Mode" style="float: left; font-size: 18px;"></input></a>
<a href="twop_info.html"><input type="button" class="button" value="Two Player Mode" style="float: left; font-size: 18px;"></input></a>
<a href="onep_game.html"><input type="button" class="button" value="Try again" style="float: left;font-size: 18px;"></input></a></b>
<br/><br/><br/><br/><br/><br/><br/><br/>
<text class="currentgame" id="playerturn"><script>firstturn();</script></text>
<div class="tttboard">
<div id="row-1">
<div onclick="move(this);" id="1"></div>
<div onclick="move(this);" id="2"></div>
<div onclick="move(this);" id="3"></div>
</div>
<div id="row-2">
<div onclick="move(this);" id="4"></div>
<div onclick="move(this);" id="5"></div>
<div onclick="move(this);" id="6"></div>
</div>
<div id="row-3">
<div onclick="move(this);" id="7"></div>
<div onclick="move(this);" id="8"></div>
<div onclick="move(this);" id="9"></div>
</div>
</div>
<div>
</div>
</body>
</html>