Baseball game dev diary version 0.0.2.202011012359: counting innings
- Added two teams, outs count and runs count; switched between teams when 3 outs using activeTeam variable (0 for away team, 1 for home team).
- Added innings counter, set to increment by 0.5 every 3 outs.
I was really proud of the innings counter idea. Top of the inning (away team) is x.5 (eg 1.5 is the top of the 2nd), bottom of the inning (home team) is x.0 (eg 9.0 is bottom of the 9th). Planned it this way to make use of the integer for home team, non-integer for away team.
Man, what is with finishing just before midnight? No wonder I'm so tired all the time.
Comments
Post a Comment