Inserted Fran's example parameter values at the top of the game
Renamed weather function to makeGameWeather and renamed weatherArray to gameWeather for consistency with other versions.
Commented out movePointsFlag function because maxScore is not defined. Game currently functions using new weather array gameWeather
Inserted missing brackets to updateGame function, excluding endGame from updateGame
Created cutoff else-if statements for normalizedArray
Delete commented-out sections with maxScore and bonus calcs
Saving changes before branching to create new climateArray setup
Removed manualClimateArray and turned it into climateArray. Removed automatic climate array for-loop entirely as well as autoFill variable (Boolean). climateArray is now an array of objects
Removed entire climateChange function, now that entire array is manually entered
Cleaning up code inside makeGameWeather, moved gameWeather variable to global scope
Climate change and makeGameWeather functions create correct weather array. YES
Create new variable payout = 0 at top of updateGame, include crop quadratic calculation in newScore that returns value of points
Deleted payoutA and payoutB global variables, WIP on creating else-if statements that determine local variable payout
Delete duplicate if-else statements from newScore and replace with parameters that take arguments from if-else statements in weatherResults. YEAH
Tested parameters of updateGame and they transfer to newScore.
Moved oldscore and newscore variables inside newScore function, because they only matter for bonus thresholds being crossed
Started to create else-if statements using min, max, and quadrants of game weather to determine wet or dry -- WIP changing else-if statements to use historicMean and historicStd_Dev
Finished crop A if-else statements that determine weather display and trigger updateGame
Added crop B else-if statements and call on updateGame
Deleted variables for calculating range and quadrants