-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
77 lines (68 loc) · 2.37 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Tic Tac Toe</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/remixicon/3.5.0/remixicon.min.css">
<link rel="stylesheet" href="styles.css">
<link rel="icon" href="logo.png">
</head>
<body>
<div class="preloader"></div>
<div class="text1">
<h1>Tic Tac Toe</h1>
<h2>Player 1: <span id="player1">O</span></h2>
<h2>Player 2 (AI): <span id="player2">X</span></h2>
<button onClick="startGame()">Restart</button>
</div>
<div class="table">
<table>
<tr>
<td class="cell" id="0"></td>
<td class="cell" id="1"></td>
<td class="cell" id="2"></td>
</tr>
<tr>
<td class="cell" id="3"></td>
<td class="cell" id="4"></td>
<td class="cell" id="5"></td>
</tr>
<tr>
<td class="cell" id="6"></td>
<td class="cell" id="7"></td>
<td class="cell" id="8"></td>
</tr>
</table>
</div>
<div class="endgame">
<div class="text"></div>
</div>
<footer>
<p>©2023 Mohammad Hassieb. All rights reserved.</p>
<ul class="footer__social">
<script type="text/javascript" src="https://cdnjs.buymeacoffee.com/1.0.0/button.prod.min.js" data-name="bmc-button" data-slug="mohammadhassieb" data-color="#000000" data-emoji="" data-font="Arial" data-text="Buy me a coffee" data-outline-color="#ffffff" data-font-color="#ffffff" data-coffee-color="#FFDD00" ></script>
<a href="https://www.facebook.com/mohamed.hassieb.1/" target="_blank" class="footer__social-link">
<i class="ri-facebook-fill"></i>
</a>
<a href="https://www.instagram.com/mhassieb_/" target="_blank" class="footer__social-link">
<i class="ri-instagram-fill"></i>
</a>
<a href="https://www.youtube.com/"target="_blank" class="footer__social-link">
<i class="ri-youtube-fill"></i>
</a>
<a href="https://wa.link/fthmku"target="_blank" class="footer__social-link">
<i class="ri-whatsapp-fill"></i>
</a>
<a href="https://github.com/hassiebb"target="_blank" class="footer__social-link">
<i class="ri-github-fill"></i>
</a>
<a href="https://www.linkedin.com/in/mo-hassieb/"target="_blank" class="footer__social-link">
<i class="ri-linkedin-fill"></i>
</a>
</ul>
</footer>
<script src="script.js"></script>
</body>
</html>