-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
54 lines (54 loc) · 2.05 KB
/
Copy pathindex.html
File metadata and controls
54 lines (54 loc) · 2.05 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
<!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 game</title>
<link rel="stylesheet" href="./styles.css" />
<link rel="icon" href="./icons-images/icons8-tic-tac-toe-64.png" />
<script src="./script.js" defer></script>
</head>
<body>
<div class="container">
<!-- grid layout is adjusted to this section -->
<div class="main-section">
<h1>Tic-tac-toe</h1>
<div class="game-control-block">
<button class="restart-game">New Round</button>
<button class="reset-score">Reset score</button>
<button class="play-against-ai">vs AI</button>
</div>
<div class="player-info-block">
<span class="player-one-name" contenteditable="true"></span>
<span class="player-one-score score"></span>
<span class="score">-</span>
<span class="player-two-score score"></span>
<span class="player-two-name" contenteditable="true"></span>
</div>
<div class="gameboard">
<button class="cell" data-index="1"></button>
<button class="cell" data-index="2"></button>
<button class="cell" data-index="3"></button>
<button class="cell" data-index="4"></button>
<button class="cell" data-index="5"></button>
<button class="cell" data-index="6"></button>
<button class="cell" data-index="7"></button>
<button class="cell" data-index="8"></button>
<button class="cell" data-index="9"></button>
</div>
<div class="congratulate-block">
<div class="popup-message"></div>
<button class="close-popup">OK</button>
</div>
</div>
<footer id="footer">
<p class="github-link">
<a target="_blank" href="https://github.com/silenceinspace"
>Github account</a
>
</p>
</footer>
</div>
</body>
</html>