Session 1: Demo recording

Pgzero can not be compiled to WebAssembly (only Pygame from session 4 on). That is why the session page shows a GIF of the end result instead of a playable demo.

How to record

  1. Run the solution: cd code/sessions/01-catch-the-stars/solution && uv run pgzrun main.py.
  2. Use a screen recorder:
  3. Record ~10 seconds of gameplay.
  4. Save as catch-the-stars.gif in static/sessions/01-catch-the-stars/.
  5. Refer to it in the worksheet via: ![Demo](/sessions/01-catch-the-stars/catch-the-stars.gif).

Target size: ~600×400 pixels, ≤ 2 MB.