Final Project Code In Place - Baseball Game Simulation

by Juan T


This is baseball simulation game between two players, inspired on this traditional board game: Different baseball outcomes are defined by a random roll of two dice, for example: Homerun, Single, Double, Out, Sacrifice Fly, etc. After each roll, the game state gets updated (inning, batter, outs, runners on base and runs per team). After 9 innings the game ends and the team with the highest number of scored runs wins the game. There are no extra innings, so the game could end up tied as well.