Baseball game dev diary game log: 'the one that got away in the bottom of the 9th'
Simulating a few games to test the walk-off code and the following game was generated. The away team was ahead 11-6 going in to the bottom of the 9th:
Inning 9, Home Team batting
412 doubles on a 0-1 count.
427 singles on a 0-0 count.
409 doubles on a 1-2 count. 412 scores.
422 strikes out. 1 out.
420 doubles on a 0-0 count. 427 scores. 409 scores.
401 singles on a 1-1 count.
423 singles on a 0-0 count. 420 scores.
417 singles on a 0-2 count.
411 singles on a 1-0 count. 401 scores.
412 strikes out. 2 out.
427 strikes out. 3 out.
Inning 10, Away Team batting
312 singles on a 0-0 count.
304 singles on a 0-0 count.
306 strikes out. 1 out.
303 strikes out. 2 out.
323 singles on a 0-2 count.
317 strikes out. 3 out.
Inning 10, Home Team batting
409 homers on a 0-1 count.
Final:
Team 0 (away): 11
Team 1 (home): 12
Winner: Team 1
Pure randomness at play right there :)
Comments
Post a Comment