-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
57 lines (52 loc) · 1.61 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>TicTac 4x4</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<header>
<h1>TicTac 4x4</h1>
<nav>
<button id="themes-tab">Themes</button>
<div id="themes-menu" class="hidden">
<button class="theme-btn" data-theme="eva">PurpleGreen</button>
<button class="theme-btn" data-theme="classic">Classic</button>
</div>
<div id="score">
<span id="player-score">Score: 0</span>
</div>
</nav>
</header>
<section id="setup">
<h2>Choose a symbol</h2>
<button id="choose-x">X</button>
<button id="choose-o">O</button>
<div id="difficulty-settings">
<input type="range" id="difficulty-slider" min="1" max="3" value="2" step="1">
<div id="difficulty-label">Medium</div>
</div>
<div id="game-mode">
<form id="mode-selection">
<label class="radio-container">
<input type="radio" name="game-mode" value="single" id="singleplayer-radio" checked>
<span class="radio-label">Single Player</span>
</label>
<label class="radio-container">
<input type="radio" name="game-mode" value="multi" id="multiplayer-radio">
<span class="radio-label">Multiplayer</span>
</label>
</form>
</div>
</section>
<section id="game" class="hidden">
<div id="game-board"></div>
<p id="status"></p>
<button id="restart">Restart Game</button>
<button id="main-menu">Main Menu</button>
</section>
<script src="script.js"></script>
</body>
</html>