Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prediction Model + Fixes #79 #80

Draft
wants to merge 9 commits into
base: dev
Choose a base branch
from
4 changes: 4 additions & 0 deletions help.html
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,10 @@ <h2>Options Box</h2>
<td>Disable Links</td>
<td>Selecting this will disable opening the Official Wiki when the bar graph is clicked.</td>
</tr>
<tr>
<td>Use Prediction Model</td>
<td>Instead of averaging calculations you will see raw crop predictions based on randomness. Clicking the <em>ReCalculate</em> button will force new random numbers to be generated, thus showing how Raw Crop qualities can fluctuate.</td>
</tr>
</tbody>
</table>
<br />
Expand Down
7 changes: 7 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
<div class="title">
</div>

<script src="js/predictions.js"> </script>
<script src="js/crops.js"> </script>
<script src="js/data.js"> </script>
<div class="graph">
Expand Down Expand Up @@ -256,6 +257,12 @@
<td>Disable Crop Links:</td>
<td><input type="checkbox" id="disable_links" onChange="refresh()" /></td>
</tr>

<tr>
<td>Use Prediction Model:</td>
<td><input type="checkbox" id="predictionModel" onChange="refresh()" />
<button type="button" onClick="refresh()" >ReCalculate</button></td>
</tr>

<tr>
<td colspan="3" id="tdhelp"><div id="divhelp"><a href="help.html">Help</a><a href="changes.html">Changes</a><a href="#" id="reset">Reset</a></div></td>
Expand Down
Loading