-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
72 lines (72 loc) ยท 3.6 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width">
<title>์์ต E-SPORTS</title>
<script src="script.js"></script>
<link rel="stylesheet" href="./css/style.css">
<link rel="stylesheet" href="./css/win.css">
<link rel="stylesheet" href="./css/Playerbutton.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=Kdam+Thmor+Pro&display=swap" rel="stylesheet">
</head>
<body>
<div class="container">
<section id="main">
<div class="mainName" style="font-family: 'Kdam Thmor Pro', sans-serif; font-size: 30px; margin-left: 100px; margin-top: 45%">Blind Five mok</div>
<div class="buttons">
<div>
<button id="withdraw">๋ฌด๋ฅด๊ธฐ</button>
</div>
<div>
<button id="reload">๋ค์ํ๊ธฐ</button>
</div>
</div>
<!-- <button id="startButton" onclick="startTimer()">์์ํ๊ธฐ</button> -->
</section>
<section id="game">
<div class="winShow1">Player1 ์น๋ฆฌ! <!--๊ฒ์ -->
<div class="trophy">
<img id="trophyImg" src="trophy.png" width="300px" height="300px" alt="">
</div>
</div>
<div class="winShow2">Player2 ์น๋ฆฌ! <!--ํฐ์-->
<div class="trophy">
<img id="trophyImg2" src="trophy.png" width="300px" height="300px" alt="">
</div>
</div>
<div id="canvasContainer">
<canvas id="canvas"></canvas>
</div>
</div>
<div>
<div class="timer" id="timer1">0:30</div>
<div class="timer" id="timer2" style="display: none;">0:30</div>
<div class="Player1">
<button id="place-stone-button1" onclick="placeStone()">์ฐฉ์</button>
<button class="red" onclick="changeColorAndSize('red',0)"></button>
<button class="orange" onclick="changeColorAndSize('orange',0)"></button>
<button class="yellow" onclick="changeColorAndSize('yellow',0)"></button>
<button class="green" onclick="changeColorAndSize('green',0)"></button>
<button class="blue" onclick="changeColorAndSize('blue',0)"></button>
<button class="purple" onclick="changeColorAndSize('purple',0)"></button>
<button class="pink" onclick="changeColorAndSize('pink',0)"></button>
</div>
<div class="Player2">
<button id="place-stone-button2" onclick="placeStone()">์ฐฉ์</button>
<button class="red" onclick="changeColorAndSize('red',1)"></button>
<button class="orange" onclick="changeColorAndSize('orange',1)"></button>
<button class="yellow" onclick="changeColorAndSize('yellow',1)"></button>
<button class="green" onclick="changeColorAndSize('green',1)"></button>
<button class="blue" onclick="changeColorAndSize('blue',1)"></button>
<button class="purple" onclick="changeColorAndSize('purple',1)"></button>
<button class="pink" onclick="changeColorAndSize('pink',1)"></button>
</div>
<div id="turn"></div>
</div>
</section>
</div>
</body>
</html>