0
How do I simulate a baseball game with multiple batter lineup?
I have been working on a baseball Simulator posted on this app and have been having trouble adding a chunk of code where for each simulated at bat it moves on to the next batter in the lineup https://code.sololearn.com/c9t97pv2WZH5/?ref=app
1 Réponse
0
I don’t actually know that much about baseball, but just looking at the beginning of the code, why do you import random twice and assign X twice? There’s no reason for it. this looks too badly broken to be fixed, and I recommend starting from scratch.