Press the space button to pitch the ball. Press the up arrow to swing. Don't swing at the ball when it is outside of the plate.
Apr. 14: Created a project to make up for being inactive. It is a batting simulator. Apr. 15: Added a catcher and started the code for the fielders. Apr. 16: Added code for fielders. Apr. 18 and 19: Added strikes, balls, and outs. Jun. 4: Added more balls and strikes code.