-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
20 lines (20 loc) · 1.12 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!DOCTYPE html>
<html>
<head>
<title>Size Incremental</title>
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<button onclick="save()">Save</button><br>
<span id="size">0</span> <span id="illion">yocto</span>meters <br>
<button onclick="game.size+=game.gain;game.total+=game.gain;">Grow</button>
<br><br>
Increased Gain <button onclick="if(game.size>=game.gain){game.size-=game.gain;game.gain++}">Upgrade</button><br>
<b>SIZES BOOSTER</b><br>
<div id="MSps">More Size per second <button onclick="if(game.size>=(game.persec)*10){game.size-=(game.persec+1)*10;game.persec++}">Upgrade</button></div>
<div id="MSps2">More Size per second<sup>2</sup> <button onclick="if(game.size>=game.persec2*100){game.size-=game.persec2*100;game.persec2++}">Upgrade</button></div>
<div id="MuSp">Multiply size/sec by 2 <button onclick="if(game.size>=Math.pow(10, game.psmul/4)){game.size-=Math.pow(10, game.psmul/4);game.psmul++}">Upgrade</button></div>
</body>
<script src="js/illions.js"></script>
<script src="js/main.js"></script>
</html>