-
Notifications
You must be signed in to change notification settings - Fork 0
/
oilTycoon.php
70 lines (67 loc) · 1.62 KB
/
oilTycoon.php
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
<!DOCTYPE html>
<html lang="en-US">
<head>
<title>Error Pump Tycoon 2</title>
<link rel="stylesheet" type="text/css" href="css/styles.css">
<style>
#Oil {
background: white;
color: green;
position: absolute;
left: 50%;
top:13.5%;
}
img {
height: 500px;
width: 500px;
}
#Container {
width: 500px;
}
#cookies {
color: green;
}
#gameButtons {
background: rgba(0,0,255,.5);
color: white;
position: absolute;
left: 53%;
top:30%;
}
</style>
</head>
<body>
<?php include "css/navbar.php"?>
<div id="flexBox">
<div id="Container">
<div id="Oil">
Oil: <span id="cookies">0</span>
</div> <!-- End Oil -->
<!-- End Oil, this isnt a joke, oil is kinda a bad resource for fuel and we need a more renewable fuel source -->
<img src="images/oilPumpTycoon.gif" alt="oilPumpTycoon">
<div id="gameButtons">
<button onclick="cookieClick(5)">Pump Oil</button>
<br/>
<button onclick="buyCursor()">Hire Workers</button>
<br/>
Workers: <span id="cursors">0</span>
<br/>
Hire Cost: <span id="cursorCost">10</span>
<br/>
<button onclick="buyUpgrades()">Upgrade</button>
<br/>
Upgrades: <span id="upgrades">0</span>
<br/>
Upgrade Cost: <span id="upgradeCost">1000</span>
<br/>
<button onclick="buyTraining()">Efficeiny Training</button>
<br/>
Efficientsy trained: <span id="training">0</span>
<br/>
Efficentsy Training Cost: <span id="trainingCost">1000</span>
</div> <!-- End GameButtons -->
</div> <!-- End Container -->
</div> <!-- End flexBox -->
<script type="text/javascript" src="js/oilPumpTycoon.js"></script>
</body>
</html>