What's the Count

Sports - Batter Up (Activity 6)

Video speed:


Keep track of the number of hits the batter gets using a variable.


  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.


Hey, club member! Sign in to get a badge for each activity you do!