Skip to content

An ACNH turnip price calculator written in Python 3

Notifications You must be signed in to change notification settings

NgGavin/python-turnip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 

Repository files navigation

python-turnip v1.1

An ACNH turnip price calculator written in Python 3

Included Files

main.py interface

  • Main input fields for initial buy price and datapoints that feeds data into trends.py
    • cycleconverter converts integer of cycle into cyclepoints dictionary call
    • cyclepoints stores the values of each cycle if applicable

trends.py utility

  • Analyzes datapoints from main.py input and determines trend with minimum and maximum values per cycle
    • random - seemingly random trend with highs and lows
    • decreasing - steady decrease in value throughout the cycles
    • large spike - steady decrease in value into a large net increase and back to a steady decrease
    • small spike - steady decrease in value into a small net increase and back to a steady decrease
    • inconclusive - trend is not discernable from provided data

printer.py output

  • Organizes and reformats analysis from trends.py into a ux friendly output
    • fileprinter creates and outputs a text file of the initial values, analysis, and results

Created by Gavin Ng

Algorithm sourced from this document

Mr.Fox's Python Programming 1 Spring 2020

Releases

No releases published

Packages

No packages published

Languages