-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPlayWithFriend.html
More file actions
65 lines (51 loc) · 2.18 KB
/
PlayWithFriend.html
File metadata and controls
65 lines (51 loc) · 2.18 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title> Tic Tac Toe - Two players </title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm"
crossorigin="anonymous">
<link href="https://fonts.googleapis.com/css?family=Staatliches" rel="stylesheet">
<link rel="stylesheet" type="text/css" media="screen" href="css/reset.css" />
<link rel="stylesheet" type="text/css" media="screen" href="css/style.css" />
</head>
<body>
<table>
<tr>
<td id="one"> </td>
<td id="Two"> </td>
<td id="Three"> </td>
</tr>
<tr>
<td id="four"> </td>
<td id="five"> </td>
<td id="six"> </td>
</tr>
<tr>
<td id="seven"> </td>
<td id="eight"> </td>
<td id="nine"> </td>
</tr>
</table>
<div id="score">
<p id="scoreX">Player One (<span class="spanForScore">X</span>) Score : <span class="spanForScore">0</span></p>
<p id="scoreO">Player Two (<span class="spanForScore">O</span>) Score : <span class="spanForScore">0</span></p>
<p id="scoreTie">Tie : <span class="spanForScore">0</span></p>
</div>
<div id="buttons">
<button id="restart" onclick="restartTheGame()">Restart the game </button>
<button id="playWitheComputer"><a href="index.html">One player</a></button>
</div>
<img src="images/list.png" alt="instructions" />
<h2 id="logo">Tic <span id="h2One">Tac</span> <span id="h2Two">Toe</span></h2>
<script src="https://code.jquery.com/jquery-3.3.1.js" integrity="sha256-2Kok7MbOyxpgUVvAk/HJ2jigOSYS2auK4Pfzbm7uH60="
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@8"></script>
<!-- <script src="sweetalert2/dist/sweetalert2.all.min.js"></script> -->
<!-- Include a polyfill for ES6 Promises (optional) for IE11 and UC Browser support -->
<script src="https://cdn.jsdelivr.net/npm/promise-polyfill@8/dist/polyfill.js"></script>
<script src="javaScript/main2.js"></script>
</body>
</html>