1. imports
1.1. codeskulptor (optional)
1.1.1. *
1.2. poc_clicker_provided
1.2.1. *
1.3. ONE OF
1.3.1. simpleplot
1.3.2. matplotlib.pyplot
1.4. math
1.4.1. ceil
2. Classes
2.1. ClickerState
2.1.1. Methods
2.1.1.1. time_until as float (cookies)
2.1.1.1.1. input
2.1.1.2. wait as null
2.1.1.2.1. input
2.1.1.2.2. update
2.1.1.3. buy_item as null
2.1.1.3.1. input
2.1.1.3.2. update
2.1.1.4. API
2.1.1.4.1. get_time as float
2.1.1.4.2. get_cps as float
2.1.1.4.3. get_cookies as float
2.1.1.4.4. get_history as list
2.1.2. __init__
2.1.2.1. Properties
2.1.2.1.1. cookies_total as float
2.1.2.1.2. cookies_current as float
2.1.2.1.3. game_time as float
2.1.2.1.4. cps_current as float
2.1.3. __str__ as string
2.1.3.1. return a polite string with relevant details about sim state
3. helper funcions
3.1. simulate_clicker()
3.1.1. input
3.1.1.1. build_info as BuildInfo()
3.1.1.2. duration as float
3.1.1.3. strategy as func
3.1.2. output
3.1.2.1. ClickerState()
3.1.3. body
3.1.3.1. Main Loop
3.1.3.1.1. while game time <= sim time
3.2. strategies
3.2.1. strategy_none as Null
3.2.1.1. input
3.2.1.1.1. cookies
3.2.1.1.2. cps
3.2.1.1.3. history
3.2.1.1.4. time_left
3.2.1.1.5. build_info
3.2.1.2. output
3.2.1.2.1. None
3.2.2. strategy_cursor_broken as Null
3.2.2.1. input
3.2.2.1.1. cookies
3.2.2.1.2. cps
3.2.2.1.3. history
3.2.2.1.4. time_left
3.2.2.1.5. build_info
3.2.2.2. output
3.2.2.2.1. Item
3.2.3. strategy_cheap as Null
3.2.3.1. input
3.2.3.1.1. cookies
3.2.3.1.2. cps
3.2.3.1.3. history
3.2.3.1.4. time_left
3.2.3.1.5. build_info
3.2.3.2. Output
3.2.3.2.1. Item
3.2.4. strategy_expensive as Null
3.2.4.1. input
3.2.4.1.1. cookies
3.2.4.1.2. cps
3.2.4.1.3. history
3.2.4.1.4. time_left
3.2.4.1.5. build_info
3.2.4.2. output
3.2.4.2.1. Item
3.2.5. strategy_best as Nul
3.3. run()
3.3.1. Run the simulator.
3.4. run_strategy
4. Constants
4.1. SIM_TIME
4.1.1. very large number
4.2. INIT_CPS
4.2.1. 1.0
4.3. DASH_LEN
4.3.1. 40