-
Notifications
You must be signed in to change notification settings - Fork 0
/
easy.html
48 lines (45 loc) · 2.41 KB
/
easy.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>NOOB</title>
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;0,800;1,300;1,400;1,600;1,700;1,800&family=Orbitron:wght@400;500;600;700;800;900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap" rel="stylesheet">
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="css/style-menu.css">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="icon/icon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="icon/icon-16x16.png">
</head>
<body onload = "CPUturn()">
<h1 class="headline">Tic Tac Toe</h1>
<h2>Result</h2>
<div class="container-menu">
<table class="shift">
<tr>
<td id="s2" onclick="user_turn(this);"> </td>
<td id="s9" onclick="user_turn(this);"> </td>
<td id="s4" onclick="user_turn(this);"> </td>
</tr>
<tr>
<td id="s7" onclick="user_turn(this);"> </td>
<td id="s5" onclick="user_turn(this);"> </td>
<td id="s3" onclick="user_turn(this);"> </td>
</tr>
<tr>
<td id="s6" onclick="user_turn(this);"> </td>
<td id="s1" onclick="user_turn(this);"> </td>
<td id="s8" onclick="user_turn(this);"> </td>
</tr>
</table>
</div>
<div class="but">
<button class="back-button" onclick="location.href='index.html'">back</button>
<button class="start-over" onclick="startGame()">start over</button>
</div>
<script src="javascript/easy.js" async defer></script>
</body>
</html>