In this minilab, you'll complete a two-player game of ping pong. To play: one player will move their bat with the mouse and the other player will move their bat with the up and down arrow keys.

Complete the starter code in order to make the ping pong game functional. You'll need to use variables to increase and decrease the score of a player throughout the game. The code to move the bats and the ball is already programmed. Try to think about when red and blue should earn points and how many points that a player needs to win.

What you'll learn

Important things before you begin

Open the starter project and click Remix.

When you're finished, be sure to save and share your project, and then add it to the studio:
  1. Giga studio .
  2. Nano studio .