Python Baseball - Code in Place Final Project

by Jason C


For my final project I made a text-based baseball game simulation. The user inputs two team names of their choice and then the game is simulated in the terminal (one batter at a time) using randomization to determine the outcomes. Statistics like hits, homeruns, errors, and strikeouts are tallied throughout the game and printed at the end in addition to the final score.