-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
69 lines (69 loc) · 3.13 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
<!DOCTYPE html>
<html>
<head>
<title>Maya Clicker v2</title>
<link rel="stylesheet" href="./style.css">
<script src="./script.js"></script>
</head>
<body>
<div class="container">
<div class = "sectionLeft"> <!---left section-->
<center>
<div class = "dopamineContainer"> <!--score section-->
<span id="dopamine">0</span> Dopamine <br>
<span id="dopaminePerSecond">0</span> Dopamine Per Second <br>
</div>
<br>
<div class ="dogContainer">
<img id="dog" src="images/maya.png" height="256px" width="360px" onclick="addToDopamine(1)">
</div>
<div id="sectionFooter">
<h3><button onclick="resetGame();">Reset Game</button> Maya Clicker V2 <button onclick="saveGame();">Save Game</button></h3>
</div>
</center>
</div>
<div class = "sectionRight"> <!--right section-->
<table class="shopButton" onclick="buyPetPower(1)">
<tr>
<td id="image"><img src="images/dogpet.jpg"></td>
<td id="nameAndCost">
<p>Petting UwU</p>
<p><span id="petPowerCost">15</span> dopamine</p>
</td>
<td id="amount"><span id="petPower">0</span></td>
</tr>
</table> <!--end of pet power-->
<table class="shopButton" onclick="buyTreat(1)">
<tr>
<td id="image"><img src="images/dogtreat.jpg"></td>
<td id="nameAndCost">
<p>Treats :D</p>
<p><span id="treatCost">50</span> dopamine</p>
</td>
<td id="amount"><span id="treat">0</span></td>
</tr>
</table> <!--end of treats-->
<table class="shopButton" onclick="buyToys(1)">
<tr>
<td id="image"><img src="images/dogtoys.jpg"></td>
<td id="nameAndCost">
<p>Toys Nom :3</p>
<p><span id="toysCost">100</span> dopamine</p>
</td>
<td id="amount"><span id="toys">0</span></td>
</tr>
</table> <!--end of toys-->
<table class="shopButton" onclick="buyGrooming(1)">
<tr>
<td id="image"><img src="images/doggroom.jpg"></td>
<td id="nameAndCost">
<p>Groom- AHH!</p>
<p><span id="groomingCost">500</span> dopamine</p>
</td>
<td id="amount"><span id="grooming">0</span></td>
</tr>
</table> <!--end of grooming-->
</div>
</div>
</body>
</html>