forked from greedy-team/javascript-greedy-roulette
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
66 lines (57 loc) ยท 1.97 KB
/
Copy pathindex.html
File metadata and controls
66 lines (57 loc) ยท 1.97 KB
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
<!doctype html>
<html lang="ko">
<head>
<meta charset="UTF-8" />
<title>๋ฃฐ๋ ๊ฒ์</title>
<link rel="stylesheet" href="index.css" />
</head>
<body>
<div id="app">
<h1>๐ฐ ๋ฃฐ๋ ๊ฒ์</h1>
<div class="info-box">
<p>
<strong>ํ์ฌ ์๊ธ:</strong> <span id="current-money">10000</span>์
</p>
<p><strong>๋ผ์ด๋:</strong> <span id="current-round">0</span></p>
</div>
<div class="color-info">
<span class="color-chip yellow">YELLOW x1</span>
<span class="color-chip green">GREEN x3</span>
<span class="color-chip blue">BLUE x5</span>
<span class="color-chip purple">PURPLE x10</span>
<span class="color-chip red">RED x20</span>
</div>
<div id="game-controls">
<div class="input-group">
<label for="color-select">๋ฒ ํ
ํ ์์</label>
<select id="color-select">
<option value="">์์์ ์ ํํ์ธ์</option>
<option value="YELLOW">YELLOW (x1 ๋ฐฐ๋น)</option>
<option value="GREEN">GREEN (x3 ๋ฐฐ๋น)</option>
<option value="BLUE">BLUE (x5 ๋ฐฐ๋น)</option>
<option value="PURPLE">PURPLE (x10 ๋ฐฐ๋น)</option>
<option value="RED">RED (x20 ๋ฐฐ๋น)</option>
</select>
</div>
<div class="input-group">
<label for="bet-amount">๋ฒ ํ
๊ธ์ก</label>
<input
type="number"
id="bet-amount"
placeholder="๋ฒ ํ
๊ธ์ก์ ์
๋ ฅํ์ธ์"
min="1"
/>
</div>
<div class="button-group">
<button id="bet-button">๋ฒ ํ
ํ๊ธฐ</button>
<button id="stop-button">๊ฒ์ ์ค๋จ</button>
</div>
</div>
<div id="result-box">
<div id="result-content"></div>
</div>
<button id="restart-button">๋ค์ ์์ํ๊ธฐ</button>
</div>
<script type="module" src="src/index.js"></script>
</body>
</html>