-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
48 lines (48 loc) · 1.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
<!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 game !</title>
<link href="./style.css" rel="stylesheet" />
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0" />
</head>
<body>
<div class="box-reveal">
<div class="game-canvas">
<div class="game-board">
<div style="text-align: center;">Selanjutnya: <span player-display="content"></span></div>
<div class="game-score">
<div class="player"><span class="material-symbols-outlined" style="margin-right: 4px;">person</span><span player-name="x" contenteditable>X Score:</span><b player="x">0</b></div>
<div class="player"><span class="material-symbols-outlined" style="margin-right: 4px;">person</span><span player-name="o" contenteditable>O Score:</span><b player="o">0</b></div>
</div>
<div class="flex-box">
<!-- Row 1 -->
<div class="box-game"></div>
<div class="box-game"></div>
<div class="box-game"></div>
<!-- Row 2 -->
<div class="box-game"></div>
<div class="box-game"></div>
<div class="box-game"></div>
<!-- Row 3 -->
<div class="box-game"></div>
<div class="box-game"></div>
<div class="box-game"></div>
</div>
</div>
</div>
</div>
<div class="information-box">
<div class="box-center">
<h3>"A" menang, lanjut ke game berikutnya?</h3>
<p>Apakah ingin melanjutkan game berikutnya?</p>
<div class="btn-list">
<button btn-trigger="reload">Ulang (-)</button>
<button btn-trigger="next">Lanjut (Enter)</button>
</div>
</div>
</div>
<script src="./script.js"></script>
</body>
</html>