while True
clock.tick(60)
sys.exit()
The exact code a desktop tutorial teaches — no pygame.run(frame), no adaptation. The loader lifts the game loop onto the browser's frame clock at load time. ◀ ▶ move the paddle.
pygame.run(frame)