jonesguy14 / footballcoach

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

Update KickXP logic to not try PAT if Walk-off TD #38

Closed destilla closed 8 years ago

destilla commented 8 years ago

If a team scores a go ahead TD in the bottom frame of an overtime, or if a team scores a walk-off TD as time expires (the six points gives them a lead of more than 2), KickXP just adds to the game log as if it was any other TD, and notes that the score was a walk-off winner.

Also updated rushingPlay() to decrement time if a TD is scored (previously no time came off the clock)

jonesguy14 commented 8 years ago

Looks good, nicely done. I like the gameEventLog for walk off TDs too.