-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathSquidGame.html
83 lines (75 loc) · 3.46 KB
/
SquidGame.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Simple red light green light game from squid game.">
<meta name="robots" content="index, follow">
<meta name="keywords" content="red, green, light, game, squid, game, simple, game, html5, canvas, javascript, web, development, threejs, three, js">
<meta property="og:image" content="img/preview.png" />
<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=Do+Hyeon&family=DotGothic16&display=swap" rel="stylesheet">
<link rel="stylesheet" href="style.css">
<title>Squid Game (Mugunghwa Game)</title>
</head>
<body>
<div id="scene-container"></div>
<!-- Buttons -->
<div class="w" id="w">W</div>
<div class="a" id="a">A</div>
<div class="s" id="s">S</div>
<div class="d" id="d">D</div>
<div class="p" id="p">P</div>
<style>
body{
font-family: 'Do Hyeon', sans-serif;
}
</style>
<div class="modal">
<div class="modal-content">
<div class="loading-content">
<h1>Loading..</h3>
</div>
<div class="start-content" style="display:none">
<h1>이번게임은 <span style='color:#f347c0'>'무궁화꽃이 피었습니다'</span> 입니다. <br> 게임에 참가하시겠습니까?</h1>
<button class="oBtn"><img src="./resource/img/obtn.png" width="50px"></button>
<button class="xBtn"><img src="./resource/img/xbtn.png" width="50px"></button>
</div>
</div>
</div>
<h1 class="text"></h1>
<h1 class="time">30:00</h1>
<div class="popup_container1" style="display:none">
<div class="retry_popup">
<h1>재도전 하시겠습니까?</h1>
<button class="oBtn" onClick="window.location.reload()"><img src="./resource/img/oBtn.png" width="50px"></input>
<button class="xBtn"><img src="./resource/img/xbtn.png" width="50px"></button>
</div>
</div>
<div class="popup_container" style="display:none">
<div class="scoreboard_popup">
<h1 class="score_title">You survived</h1>
<h1 id="output" style="color:#fd1491"></h1>
<button id="fileLoad_btn" ><img src="./resource/img/load_img.png" width="50px"><br>Load</button>
<button id="fileSave_btn" ><img src="./resource/img/save_img.png" width="50px"><br>Save</button>
<h1 class="score_title">ScoreBoard</h1>
<h1 class="not_load_msg">File is not loaded..</h1>
<div class="table_container">
<table class="recordTable" style="display:none">
<tr>
<th>Rank</th>
<th>Time</th>
</tr>
<tbody id="table_data">
</tbody>
</table>
</div>
<button class="retry_btn" onClick="window.location.reload()"><img src="./resource/img/retry.png" width="40px"></input>
</div>
</div>
<script src="./js/module/gsap.min.js"></script>
<script type = "module" src="./main.js"></script>
</body>
</html>