<!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 >
This tool is in early development - it will work best if you have all of the days data, morning and night.
Without that it will not work hugely well.
At a minimum this needs the buy price < b > on your own island< / b > ! (What you actually bought them for if it was on another island is not relevant)
< / 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 >
< p >
The first week in which you buy turnips from Daisy is treated specially - this tool doesn't handle that. It will only work if this is the second week onwards
< / p >
< p >
To use - enter the buy price on your island, and any prices you have from the morning or afternoon of each day. The tool will figure out all possible patterns and predict the lowest and highest prices for each day.
< / 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, this likely means that this is the first week that you bought turnips from Daisy in your farm - and this tool won't work for you. 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 >