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

154 lines
3.6 KiB
HTML

<!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>
</head>
<body>
<p>
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>
I couldn't have done this without <a href="https://twitter.com/_Ninji/status/1244818665851289602?s=20">Ninji's work extracting the code</a>
</p>
<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>
</form>
<p>
</p>
<p>
<table>
<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>Pattern</th>
<th>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>
</tr>
<tr>
<th></th>
<th></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>
<th>AM</th>
<th>PM</th>
</tr>
</thead>
<tbody id="output">
</tbody>
</table>
</p>
<script src="https://code.jquery.com/jquery-3.4.1.min.js"></script>
<script src="js/scripts.js"></script>
</body>
</html>