This demo uses

  • PixiJS 7.4.2 (library, loaded from a CDN): draws the shapes and score text, and runs the game loop (app.ticker)
  • Keyboard events (built into the browser): keydown and keyup record which keys are held
  • No server: everything runs in this browser tab