Skip to content
4. What's the Count
  • 1. Introduction to Variables
  • 2. Throw the Baseball
  • 3. In the Strikezone
  • 4. What's the Count
  • 5. Baseball Average Calculator
  • 6. Add-Ons
  • 7. Reflection
  • 8. Wrap-up: Batter Up
  • 9. Wrap-up: Share Your Project
  • 10. Wrap-up: Show Your Project
arrow_backward Back Next arrow_forward
Instructions
  1. Add a variable named "hits" to your game.
  2. Keep track of the batter's hits using "change by."
  3. Make the program wait 0.2 seconds before running the loop again.
  4. Reset the number of hits to 0 at the beginning of the game.