Free 🧰 Practical LLM Lessons

Arcade Remix: Pong Duel

Two-paddle Pong with ball spin based on hit angle and a quick AI option.

Published January 8, 2026

Play it

Controls: W/S for left paddle, ↑/↓ for right. Space to reset scores.

Tweak it

  • Add light AI: uncomment the maybeAi lines for the right paddle.
  • Speed burst: increase ball.dx/ball.dy after every 5 paddle hits.
  • Resize paddles: make h shorter to raise difficulty.
  • Video walkthrough

    Key Takeaways

    • Spin comes from hit offset on the paddle.
    • Minimal collision plus reset gives full game loop.
    • Tiny changes to paddle size and speed swing difficulty.

    Quick poll

    What brought you to this free lesson?

    Lesson: Arcade Remix: Pong Duel