jonesguy14 / footballcoach

Android App for playing/simulating/recruiting as a college football coach
Other
34 stars 8 forks source link

Improved Curse/Bless Story Selector and Added New Stories #60

Closed destilla closed 8 years ago

destilla commented 8 years ago

Changed curse/bless story selector so that complex stories that check for a bunch of criteria ( the catfish story for example) will fail and go back to try to pick another story if none of the criteria are met. This is achieved by sticking the switch statement inside a for loop and decrementing i in the event that the story cannot be used. The for loop then tries again with a new math.random case.

Added a story from the subreddit about a team having a huge fight, and it causing strife; the coach was unaware and didn't act on it, now the QB and WR1 are fighting. Added a follow up story to week 1 that checks the QBs performance, the WR1's performance, and whether or not the team won, and posts one of four stories depending on those outcomes.

destilla commented 8 years ago

Also slack is telling me that you've responded but I need to get home, it's 7:30 and my developers are looking at me like "lol wtf are you doing here still?" I'll check when I get home.

jonesguy14 commented 8 years ago

Looks good! Loving the extra personality that this will add to the game.