Delete addDollars function
Comment out newScore function, add parameters to updateGame function
Add new function setParameters that will feed parameters to updateGame
Complete if-else conditions in addDollars function
Move newScore, pointsflag, pointsfill functions inside of updateGame function
Add height-related variables to top of updateGame function, change variables so that perTurnHeight moves by pixels related to number of points earned
Changed updateGame so it only has 1 parameter, payout. Filled in function setParameters with if-else to assign payout depending on crop and weather
Move setTimeout function, which hides crop graphics, into setParameters if-else statements. Delete old if-else statements inside of updateGame, including all commented-out sections and including cropChosen variable which was not replaced.
Moved displayRain, displaySun, and fadeWeather inside updateGame function, because of addTurn error (uncaught reference) when addTurn was moved inside updateGame scope
Add if-else statement inside weatherResults function to differentiate Wet and Dry weather.
Move setTimeout for fadeweather into displayWeather function. Going to use first 2 functions in weatherResults to create objects for arguments
TESTING arguments as objects created in parameter function, passed to updateGame in parameters
Add new global var, arguments, to transmit args object to updateGame
Deleted displayWeather call from #grow on-click function. Changed setTimeout within #grow function to call setParameters which calls updateGame
Moved setParameters inside of updateGame because arguments objects are apparently only available within function body
Changing setParameters so that its only function is to create arguments objects, WIP
Rewrote setParameters so that it only outputs objects containing correct key-value pairs
Moved setParameters back outside of updateGame, because it creates the args for updateGame
Var arguments, global variable, stores result of setParameters (an object) to pass it to updateGame
Reworking updateGame keeping in mind that using parameters makes updateGame a TEMPLATE with values filled in dependent on weather and crop chosen or payout