-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.html
127 lines (111 loc) · 4.18 KB
/
main.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
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
<!DOCTYPE html>
<html>
<body>
<div class="storePage">General Store
<p>
Oxen:<br>
<input type="text" id="buyOxen"><br>
Pounds of food:<br>
<input type="text" id="buyFood"><br>
Sets of clothing:<br>
<input type="text" id="buyClothes"><br>
Fishing lures:<br>
<input type="text" id="buyBait"><br>
Wagon wheels:<br>
<input type="text" id="buyWheels"><br>
Wagon axles:<br>
<input type="text" id="buyAxles"><br>
Wagon tongues:<br>
<input type="text" id="buyTongues"><br>
</p>
<p><button type="button" id="btnStore">Continue</button></p>
</div>
<div class="titlePage">
<p>The Oregon Trail</p>
<p><button id="btnTitle">Start the Game!</button></p>
<p>
Michael Kelbaugh<br>
John Larson<br>
Christopher Blake<br>
Mansi Shah<br>
</p>
</div>
<div class="setupPage">
<p>
Traveling to Oregon isn't easy! But if you're a banker, you'll have more money for supplies and services than a carpenter or a farmer.
However, the harder you have to try, the more points you deserve! Therefore the farmer earns the greatest number of points and the banker earns the least.
<br>
<input type="radio" name="occupation" value="banker"> Banker from Boston - $1600<br>
<input type="radio" name="occupation" value="carpenter"> Carpenter from Ohio - $800<br>
<input type="radio" name="occupation" value="farmer"> Farmer from Illinois - $400<br>
</p>
Wagon Leader's Name:<br>
<input type="text" id="leaderName"><br>
The members of the wagon party:<br>
Person 1:<br>
<input type="text" id="person1" value="Michael"><br>
Person 2:<br>
<input type="text" id="person2" value="John"><br>
Person 3:<br>
<input type="text" id="person3" value="Chris"><br>
Person 4:<br>
<input type="text" id="person4" value="Mansi">
<p>
Choose a starting month:
If you leave too early in the year, there won't be any grass for your oxen to eat.
If you leave too late, you may not get to Oregon before winter comes.
If you leave at just the right time, there will be green grass and the weather will still be cool.
</p>
<select name="month" id="month">
<!--<option value="noMonth">Select Month...</option>-->
<option value="2">March</option>
<option value="3">April</option>
<option value="4">May</option>
<option value="5">June</option>
<option value="6">July</option>
</select>
<p><button type="button" id="btnSetup">Continue</button></p>
</div>
<div class="mainPage">
<button id="btnRations">Rations</button>
<button id="btnBuy">Buy</button>
<button id="btnTrade">Trade</button>
<button id="btnTalk">Talk</button>
<button id="btnRest">Rest</button>
<button id="btnPace">Pace</button>
<button id="btnFish">Fish</button>
<button id="btnPause">Pause</button>
<button id="btnContinue">Continue</button>
<button id="btnTopScores">Top Scores</button>
<button id="btnTombstones">Tombstones</button>
<button id="btnInsertTombstone">Insert Tombstone</button>
<button id="btnInsertScore">Insert Score</button>
<p id="status">Status</p>
<p id="demo">000</p>
<p id="currentDate">date:</p>
<p id="weather">weather:</p>
<p id="distanceToLandmark">to next landmark:</p>
<p id="distanceTraveled">distance traveled:</p>
<p id="rations">rations:</p>
<p id="pace">pace:</p>
<p id="food">food:</p>
<p id="bait">fishing bait:</p>
<p id="wheels">wheels:</p>
<p id="axles">axles:</p>
<p id="tongues">tongues:</p>
<p id="health">health:</p>
<p id="clothing">clothes:</p>
<p id="oxen">oxen:</p>
<p id="people">people:</p>
<p id="wagonStatus">Wagon is stopped</p>
<p id="log">last action</p>
<p id="nextLandmark"></p>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js" type="text/javascript"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootbox.js/4.4.0/bootbox.min.js" type="text/javascript"></script>
<script type="text/javascript" src="Oregon.js"></script>
</body>
</html>