Lesson 2: Play the Game & Set Up!

Mission: Try the game you will build and set up your computer for coding.

Controls: Use the left/right arrow keys to move. Press Space to shoot.

Install Python and Pygame

  1. Download Python from python.org/downloads.
  2. During install, check Add Python to PATH.
  3. Open Terminal (macOS) or Command Prompt (Windows).
  4. Install Pygame:
    pip install pygame
If you are using a school computer, ask your teacher if you need admin access.
Go to Lesson 3 →