Tap, click, or press a key on the canvas to start browser audio.
# Simple Pong A minimal Pong-style example demonstrating a simple game loop, rectangle collision detection, paddle bounce, wall bounce, and scoring. Controls: - Arrow Up / Arrow Down: move the left paddle. - Physical W / S: alternate left paddle controls. - Gamepad left stick or d-pad: alternate left paddle controls. The right paddle follows the ball automatically. The ball and paddles are rectangles, and bounce response flips the ball velocity on the relevant axis. Pad bounces also increase the ball speed, so each round gets harder until someone scores.