Running Bases

In the game of baseball, the batter hits the ball and then tries to touch all four bases, in order, before being tagged out. We will not do anything with the hitting the ball, just running the bases.

Class discussion

We talked about what variables you should use, and what they mean. The most important variable is last base I got to.

We talked about what the code should look like for base 1. There was an “if-then” block with different choices:

Details

One way to lose is have a stage backdrop that says “Cheater”.


when I receive [Cheater v]
  switch backdrop to [Cheater v]
  stop [all scripts v]