Batter- Press O to swing your bat (hitting) Press P to parry, which gives you more cash but has a smaller window and is harder to hit. Pitcher- Press E to do a basic throw. The speed is randomized between 10-30. Press F To do a curveball. Has a longer cooldown and is slower, but is harder to hit. Press R to do a fakeout. Pretend to do a throw to bait the batter into swinging. No cooldown. Cash awarded is proportional, so basically if a batter parries a curveball, you will be awarded with 20 cash, and if you hit a basic ball, you will get 10 cash, exc.
inspiration from my brothers idea, but everything else is by me