I am sincerely sorry
water drinking simulator by CommandCreep [@saveme5656]
art by and inspiration thanks to @motdab
current version: 2.1
Changelog:
ver. Alpha
- program general structure
- add reset button
- add assets
- implement drinking
- probably a bad idea to do it based on audio playback time in hindsight but whatever

ver. Beta
- add inputs for difficulty parameters
- implement gameplay
- hydration starts at 50%
- Bottle Capacity = % to be added to hydration level
- Dehydration Time: secs to dehydrate
ver. 1.0
- make standard function conditional to proper hydration
- add dehydration screen
- add overhydration screen
ver. 1.1
- add 1.0 changelog (yes I somehow forgot it :p)
- tweak colors
ver. 1.2
- tweak default bottle capacity
ver. 1.3
- add variable for round absolute hydration
- tweak hydration level to be based on round absolute hydration
ver. 2.0
- add time-based scoring system
ver. 2.1
- tweak hydration progressbar warning color level
ver. 3.0
- attempt adding BGM
- tweak hydration bar to have rounded ends
- fix hydration bar display
- update library p5.js
- create cookie library
- needed to use cookies for saving things in-game and a library seemed like a good choice since I could use it in more places than just here
- fix BGM

- make highscore saving preparations (stop game from looping on game over)
- remove random line of stray commented-out code
- make music pause on game over
- implement highscore saving via browser cookies
- implement autosave via browser cookies
- add options section on HTML page above difficulty parameters
- add autosave toggling
ver. 3.1
- fix loading from cookies
- the game was loading from cookies even when empty; resulted in values being
NaN and crashing the game
ver. 3.2
- make game saving independent of autosave
- change some internal names
- add manual save button
- add music toggling
- move music interaction to a checkbox in the “Options” category
- make autosave checkbox save its own state on change
- used to only do so upon autosave call so this is more normal
- add music playback state saving
- aaaaaugh why was this was such a pain
ver. 4.0
- visually improve game settings container
- add “about” and “changelog” links
- add warning about cookies
- I don’t know for certain if I should be too concerned about letting the user know about cookie usage but it seems like the right thing to do

- add help text
- change formatting
- fix game over screen alignment
- unhook cooldown from sfx (finally! 🥹)
- add input for cooldown modifier
### ver. 4.1
- fix cooldown being incorrectly implemented
- fancy way of saying “oops I forgot to clean up all the leftovers from the previous version :p”
- tidy up game interact function