Added new scripts and link ref to index head for jQuery UI dialog plugin
Correct stylesheet and script links in head, moved relevant jQuery UI files to new folder, deleted jQuery-UI downloaded directory from V1_master
Updated .gitignore to include rules suggested by help.github.com/articles ignoring-files
Added function for #dialog-message that triggers modal dialog and OK button. Copied and pasted from modal example on jQuery UI site
Moved #dialog-message function to new version of jquery.ui.dialog.js
Wrote HTML for 3 game instructions dialog boxes at top of index.html. Added CSS dialog-message span rule. Added JS to use maxturn variable to fill in dialog span.
Replaced css links in head to reference the customized jQuery-ui from Theme Roller incorporating desired styling
Added box shadows to .ui-widget-content to create styled border on dialog boxes
Replaced scripts and stylesheets in head with custome-theme versions. Copied and pasted modal function into custome-theme js file. Minor styling edits as I played with and tested sources in Developer
First attempt at sequencing dialog box introduction in mainscript
Add endGame function that sets endOfGame variable to true. endGame function is run if turns == maxturn on #grow click. endOfGame is maybe an unnecessary variable. Keep for now in case end dialog boxes depend on it.
Minor changes
altered climateChange function with if else statement. IF Fran wants auto-created climateArray, set autoFill to true. If she wants to manually enter values, set to false.
Add set bonus payments section to global variables, create bonusOne and bonusTwo
Add Real Dollars Earned section to show and set initial dollars earned.
Fix makeThresholdArray function so that thresholdArray fills in using i-1 and flexibly manual-or-auto value of climateArray
Add function to calculate the Indifference Point, where A and B are equally good choices considering the probability of dry weather. Function triggers an alert if the indifference point is greater than 1 or less than 0.
First pass at creating a test function for Fran to use to test the game. I want it to work in the console, but it doesnt yet.
Altered value inside span dollars_counter
Work in progress on a function that finds the turn at which the indifference point is achieved or passed