-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
64 lines (63 loc) · 2.8 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
<!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="styles.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,400;0,700;1,100;1,200;1,400;1,700&family=Roboto+Mono:wght@100;200;300;400;700&display=swap" rel="stylesheet">
<link rel="icon" type="image/x-icon" href="images/favicon.png">
</head>
<body>
<section class="main">
<div class="game">
<div class="buttons">
<button class="return-to-main">Main page</button>
<button class="restart-btn">Restart</button>
</div>
<div class="game-board">
<div class="cell cell1" type="button"></div>
<div class="cell cell2" type="button"></div>
<div class="cell cell3" type="button"></div>
<div class="cell cell4" type="button"></div>
<div class="cell cell5" type="button"></div>
<div class="cell cell6" type="button"></div>
<div class="cell cell7" type="button"></div>
<div class="cell cell8" type="button"></div>
<div class="cell cell9" type="button"></div>
</div>
</div>
<div class="display-result">
<div class="player-x">
<h3>Player - X</h3>
<p class="player-score">0</p>
</div>
<div class="ties">
<h3>Ties</h3>
<p class="ties-score">0</p>
</div>
<div class="player-o">
<h3 class="againstComputer">Player - 0</h3>
<p class="computer-score">0</p>
</div>
</div>
</section>
<section class="game-intro">
<img src="images/logo.svg" alt="tic tac toe image" class="logo">
<h1>Unleash your tactical prowess as you vie for victory in this classic game of wit and skill. <br>
Get ready to make your mark, claim your territory, and outsmart your opponent. <br> Let the battle for tic-tac-toe supremacy begin!</h1>
<div class="choice">
<input type="radio" id="vsPlayer" class="ui-checkbox" name="choice"/>
<label for="vsPlayer" class="s-input">Player VS Player</label>
<input type="radio" id="vsComputer" class="ui-checkbox" name="choice"/>
<label for="vsComputer" class="s-input">Player VS Computer</label>
</div>
<button class="start-btn">Start game</button>
</section>
<footer><a href="https://github.com/bobby2910/Tic-Tac-Toe">BM 2023</a> </footer>
<script src="script.js" defer></script>
</body>
</html>