This repository has been archived by the owner on Apr 7, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
108 lines (102 loc) · 3.56 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<link rel="stylesheet" href="styles/main.css" />
<title>Tic-Tac-Toe</title>
</head>
<body>
<header>
<h1>X</h1>
<h1>Tic-Tac-Toe</h1>
<h1>O</h1>
</header>
<div class="game-wrapper" style="display: none;">
<div class="game">
<div class="player-info first-pl">
<h3>1stPl</h3>
<h4 class="nick-name">Player1</h4>
<h4 class="ch">X</h4>
</div>
<div class="board-wrapper">
<div class="game-board">
<div class="content-element" data-id="0"><span>X</span></div>
<div class="content-element" data-id="1"><span>X</span></div>
<div class="content-element" data-id="2"><span>O</span></div>
<div class="content-element" data-id="3"><span>O</span></div>
<div class="content-element" data-id="4"><span>O</span></div>
<div class="content-element" data-id="5"><span></span></div>
<div class="content-element" data-id="6"><span>X</span></div>
<div class="content-element" data-id="7"><span>O</span></div>
<div class="content-element" data-id="8"><span>O</span></div>
</div>
</div>
<div class="player-info second-pl">
<h3>2ndPl</h3>
<h4 class="nick-name">Player2</h4>
<h4 class="ch">O</h4>
</div>
</div>
<div class="game-options">
<button class="button new-game">New Game</button>
<span class="separator">|</span>
<button class="button reset-game">Reset</button>
</div>
</div>
<div class="modal-wrapper">
<div class="modal game-mode">
<h2 class="title">Tic-Tac-Toe</h2>
<div class="content">
<button class="button pvp-mode">Player vs Player</button>
<button class="button pve-mode">Player vs PC</button>
<h4 class="pro">Made by Igorash</h4>
</div>
</div>
</div>
<div class="modal-wrapper" style="display: none;">
<div class="modal nicknames">
<h2 class="title">Nicknames</h2>
<div class="content">
<div class="element first-player-input">
<label for="first-player-nickname">1stPlayer</label>
<input
type="text"
id="first-player-nickname"
placeholder="Player1"
maxlength="18"
/>
</div>
<div class="element second-player-input">
<label for="second-player-nickname">2ndPlayer</label>
<input
type="text"
id="second-player-nickname"
placeholder="Player2"
maxlength="18"
/>
</div>
<div class="modal-options">
<button class="button back">Back</button>
<button class="button next">Next</button>
</div>
</div>
</div>
</div>
<div class="modal-wrapper" style="display: none;">
<div class="modal game-over">
<h2 class="title">Game Over</h2>
<div class="content">
<h2 class="gg"></h2>
<div class="modal-options">
<button class="button new-game">New Game</button>
<button class="button reset-game">Reset</button>
<h4 class="pro">Made by Igorash</h4>
</div>
</div>
</div>
</div>
<script src="scripts/app.js"></script>
</body>
</html>