This is an example of the basketball game that you will make today!

  • Click Run to start the game.
  • Use the left arrow key and down arrow key to set-up your shot. Use the space bar to shoot the ball.
  • Click Run to play again.
  • After you play the game, click Submit and Next to build it yourself!

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)