-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
73 lines (66 loc) · 2.78 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Tic Tac Toe</title>
<link rel="stylesheet" href="./style.css">
<script defer src="./script.js"></script>
</head>
<body>
<header class="flex flex-jc-c flex-jc-r">
<img class="corner" src="./assets/triangle-corner.svg" alt="">
<a href="https://github.com/porobertdev/tic-tac-toe" target="_blank">
<img class="github spin unspin" src="./assets/github-white-icon.svg" alt="">
</a>
</header>
<h1 id="title">Tic Tac Toe</h1>
<!-- main menu -->
<div class="game-menu flex flex-d-c flex-ai-c">
<form action="" class="flex flex-d-c flex-ai-c">
<div class="flex flex-d-c">
<label for="player1">Player1:</label>
<input type="text" name="player1_name" id="player1" placeholder="name">
</div>
<div class="flex flex-d-c">
<label for="player2">Player2:</label>
<input type="text" name="player2_name" id="player2" placeholder="name">
</div>
<button class="play hidden" type="button">PLAY</button>
</form>
</div>
<div class="game-container hidden">
<div class="top flex flex-ai-c">
<div class="board">
<div class="cell border-right border-bottom flex flex-jc-c"></div>
<div class="cell border-right border-bottom flex flex-jc-c"></div>
<div class="cell border-bottom flex flex-jc-c"></div>
<div class="cell border-right border-bottom flex flex-jc-c"></div>
<div class="cell border-right border-bottom flex flex-jc-c"></div>
<div class="cell border-bottom flex flex-jc-c"></div>
<div class="cell border-right flex flex-jc-c"></div>
<div class="cell border-right flex flex-jc-c"></div>
<div class="cell flex flex-jc-c"></div>
<span class="strike hidden">
</div>
<div class="end-game flex flex-d-c hidden">
<img class="reset" src="./assets/reset.svg" alt="">
<img class="next" src="./assets/next.svg" alt="">
</div>
</div>
<div class="game-status flex flex-jc-c flex-ai-c">
<span class="score player1">0</span>
<div class="rectangle flex flex-jc-c flex-ai-c">
<span class="player-name"></span>
<img class="mark" src="./assets/x-status-icon.svg" alt="">
</div>
<span class="score player2">0</span>
</div>
</div>
<!-- <div id="modal">
<div class="content">
testing brah
</div>
</div> -->
</body>
</html>