You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ac-nh-turnip-prices/index.html

156 lines
3.9 KiB
HTML

5 years ago
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Animal Crossing Turnip Price Forecaster</title>
<meta name="description" content="Animal Crossing Turnip Price Forecaster">
<meta name="author" content="Mike Bryant">
<link rel="stylesheet" href="css/styles.css?v=1.0">
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-162470902-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-162470902-1');
</script>
5 years ago
</head>
<body>
<p>
5 years ago
To use, enter as much data as you can from <b>your own island</b>. If you bought from Daisy on your own island <b>for the first time this week</b> leave the buy price blank. The tool will figure out all possible patterns and predict the lowest and highest prices for each day.
</p>
<p>
5 years ago
I couldn't have done this without <a href="https://twitter.com/_Ninji/status/1244818665851289602?s=20">Ninji's work extracting the code</a>
5 years ago
</p>
<p>
Support, comments and contributions are available through <a href="https://github.com/mikebryant/ac-nh-turnip-prices/issues">Gitlab</a>
</p>
5 years ago
<form>
<p>
<label>Daisy Mae</label><br>
<label>
Buy price
<input type="number" id="buy">
</label>
</p>
<p>
<label>Monday</label><br>
<label>
AM
<input type="number" id="sell_2">
</label>
<label>
PM
<input type="number" id="sell_3">
</label>
</p>
<p>
<label>Tuesday</label><br>
<label>
AM
<input type="number" id="sell_4">
</label>
<label>
PM
<input type="number" id="sell_5">
</label>
</p>
<p>
<label>Wednesday</label><br>
<label>
AM
<input type="number" id="sell_6">
</label>
<label>
PM
<input type="number" id="sell_7">
</label>
</p>
<p>
<label>Thursday</label><br>
<label>
AM
<input type="number" id="sell_8">
</label>
<label>
PM
<input type="number" id="sell_9">
</label>
</p>
<p>
<label>Friday</label><br>
<label>
AM
<input type="number" id="sell_10">
</label>
<label>
PM
<input type="number" id="sell_11">
</label>
</p>
<p>
<label>Saturday</label><br>
<label>
AM
<input type="number" id="sell_12">
</label>
<label>
PM
<input type="number" id="sell_13">
</label>
</p>
<button id="reset">Reset</button>
5 years ago
</form>
<p>
5 years ago
</p>
<p>
<table id="turnipTable">
5 years ago
<caption>Your turnip prices will be one of the following patterns. Each cell contains the minimum..maximum price for that half-day. If you don't have a pattern, something's gone wrong, sorry :(. Check back next week!</caption>
<thead>
<tr>
<th rowspan="2">Pattern</th>
<th rowspan="2">Sunday</th>
<th colspan="2">Monday</th>
<th colspan="2">Tuesday</th>
<th colspan="2">Wednesday</th>
<th colspan="2">Thursday</th>
<th colspan="2">Friday</th>
<th colspan="2">Saturday</th>
<th rowspan="2">Week Min</th>
<th rowspan="2">Week Max</th>
</tr>
<tr>
<th>AM</th>
<th>PM</th>
<th>AM</th>
<th>PM</th>
<th>AM</th>
<th>PM</th>
<th>AM</th>
<th>PM</th>
<th>AM</th>
<th>PM</th>
<th>AM</th>
<th>PM</th>
</tr>
</thead>
<tbody id="output"></tbody>
</table>
5 years ago
</p>
<script src="https://code.jquery.com/jquery-3.4.1.min.js"></script>
<script src="js/predictions.js"></script>
5 years ago
<script src="js/scripts.js"></script>
</body>
</html>