-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
97 lines (93 loc) · 2.84 KB
/
index.html
File metadata and controls
97 lines (93 loc) · 2.84 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<html>
<head>
<title>Our First Game</title>
<link rel="stylesheet" href="style.css">
<script src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
<script src="scroller_helper.js"></script>
<script src="game.js"></script>
</head>
<body>
<div id='game-div'>
<div id='mouse-div'></div>
<h1>Survival of the fittest</h1>
<h3>Web Club - Fall 2018</h3>
<div id='button-div'>
<form action="javascript:void(0);">
<button id='pick-up-wood-button'>Pick Up log</button>
<button id='collect-berries-button'>Collect Berries</button>
<button id= 'build-fire-button'> Build Fire</button>
<button id= 'build-a-car-button' title="100 dollars 24 wood"> punch buggy</button>
</form>
</div>
<div id='inventory-div'>
<table>
<tr>
<td class='inventory-label'>Wood:</td>
<td id='wood-collected-count'>200</td>
<td><button id='sell-wood'>Sell Wood</button></td>
</tr>
<tr>
<td></td>
<td></td>
</tr>
<tr>
<td class='inventory-label'>Money:</td>
<td id='Money-count'>0</td>
<td></td>
</tr>
<tr>
<td class='inventory-label'>Timer Count:</td>
<td id='second-timer-count'>10</td>
<td></td>
</tr>
<tr>
<td class='inventory-label'>Health:</td>
<td id='Health-count-'>100</td>
<td><button id='Health'>Eat Berries</button></td><td><button id='x5-berries-button'>Eat 5 Berries</button></td>
</tr>
<tr>
<td class='inventory-label'>Berries:</td>
<td id='berries-collected-count'>0</td>
<td><button id='sell-berries-button'>Sell Berries</button></td>
<td><button id='x5-berries-button'>Eat 5 Berries</button></td>
</tr>
<tr>
<td class='inventory-label'>car:</td>
<td id='cars-collected-count'>0</td>
<td><button id='start-up-car-button'>start up car</button></td>
<td><button id='sell-car'>Sell car</button></td>
</tr>
<tr>
<td class='inventory-label'>Wood Fallen In Forest:</td>
<td id='wood-fallen-count'>0</td>
<td></td>
</tr>
<tr>
<td class='inventory-label'>Berries Available :</td>
<td id='berries-available-count'>0</td>
<td></td>
</tr>
<tr>
<td class='inventory-label'>houses Available :</td>
<td id='-house-available-count'>0</td>
<td><button id='build-house-button'>buid house</button></td>
</tr>
<tr></tr>
</table>
</div>
</div>
<div id='emoji-div'></div>
<div id='road-div'></div>
<div id='game-over'>
<h2>you have died, press play again to restart</h2>
<a href='.'>play again</a>
</div>
<div id='warning'>
<h2>test alert</h2>
<a href='.'>play again</a>
</div>
<a href='https://webclub.rwtsoftware.com/info'>
More info
</a>
</body>
</html>