-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
49 lines (45 loc) · 1.31 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
<!DOCTYPE html>
<!--
<htmlApplication
applicationName="Duck Game!"
fixedSize="yes"
width=1000
height=600
customTitlebar="no" />
-->
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="index.css">
<title>Duck Game</title>
</head>
<body>
<div id='info' style="display:block">
<h1 class="header">About the Game</h1><br/>
<h2>Information</h2>
<ul>
<li>Press the duck to get money</li>
<li>You can also press the spacebar!</li>
<li>Level up by getting money</li>
<li>Upgrade your click to earn faster</li><br/>
<li>Please enjoy the game!</li>
</ul><br/>
<h2>Symbols</h2>
<ul>
<li>💰 is for money</li>
<li>⭐ is for level</li>
</ul>
<button class="action" onclick="playgame()">Play Game</button>
<h2>2020 mcjoe21.com</h2>
</div>
<div id="main" style="display:none">
<h1 id="header">💰 0 ⭐ 1</h1>
<a href="javascript:click();"><img src="duck.png"></a>
<progress id="bar"></progress>
<h1>The Shop</h1>
<button class="upgrade" id="upgrade" onclick="buy(0)">Upgrade Click! (💰25)</button>
<button class="upgrade" id="skiplevel" onclick="buy(1)">Skip Level! (💰40)</button>
<script src="index.js"></script>
</body>
</html>