jonesguy14 / footballcoach

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

Updated runPlay() end of game logic #42

Closed destilla closed 8 years ago

destilla commented 8 years ago

Updated runPlay() to choose plays the way it should when the clock is under 30 seconds; previously if a team was losing by less than 3 (or winning) it was forced into a passing play until it scored or turned the ball over on downs.

Added a check to make sure that the team with the ball is losing to the initial if statement.

jonesguy14 commented 8 years ago

Looks good, nice catch yet again!

destilla commented 8 years ago

Thanks! I try to find this stuff while playing; like you said, I want to help make a game that I also want to play.