Pong — 2 Player
Classic Pong in your browser — share a keyboard with a friend or play against the computer; first to 7 points wins.
0
You
0
Computer
You control the left paddle. First to 7 points wins.
On a keyboard: left paddle W / S, right paddle ↑ / ↓, press P to pause. On a touch screen, drag your side of the board to move that paddle.
Runs entirely in your browser — nothing is uploaded and no score leaves your device.
How it works
- Choose 1 Player to face the computer or 2 Players to share a keyboard with a friend.
- Move the left paddle with W/S and the right paddle with the arrow keys — on a phone, drag your half of the board.
- Rally until someone reaches 7 points; the ball speeds up with every paddle hit, so stay sharp late in the point.
Frequently asked questions
- How do the controls work in 2 player mode?
- Both players share one keyboard: the left paddle uses W and S, the right paddle uses the up and down arrow keys. On a touch screen each player drags their own half of the board instead, so two people can play on a single phone or tablet held between them.
- Can I play Pong against the computer?
- Yes — switch to 1 Player mode and the right paddle is controlled by a simple AI that tracks the ball. It moves at a capped speed and returns to center between rallies, so it is beatable with sharp-angle shots off the edge of your paddle.
- Why does the ball keep getting faster?
- Every paddle hit increases the ball speed slightly, up to a cap, which is how the original arcade Pong built tension during long rallies. The speed resets to its starting value at the beginning of each new point, so every rally starts fair.
- Does this Pong game work on mobile?
- Yes. The board scales to your screen and each half of the canvas responds to touch drag, moving the paddle on that side. In 1 Player mode any touch controls your paddle, so you can play one-handed. The page never scrolls while you drag on the board.
- Do I need to download anything or create an account?
- No. The whole game is a small piece of code that runs locally in your browser tab — there is no download, no account, and no data sent anywhere. Scores exist only while the page is open, and refreshing the page simply starts a fresh match.
About this tool
This is a faithful, minimal take on Pong, the 1972 arcade game that started the video game industry. Two paddles, one ball, first to 7 points. You can play head-to-head with a friend on the same keyboard — W/S against the arrow keys — or flip to 1 Player mode and face a computer opponent that tracks the ball at a limited speed. On phones and tablets the game switches to touch: drag anywhere on your half of the board and your paddle follows your finger, which makes two-player matches on a single tablet surprisingly playable.
Everything runs client-side in your browser. The game loop uses requestAnimationFrame with delta timing, so paddle and ball movement stay consistent whether your screen runs at 60 Hz or 144 Hz, and the canvas renders at your device’s native pixel density for crisp edges. Where the ball strikes your paddle matters: hits near the edge send it off at a steep angle, hits near the center return it flat. Each return also nudges the ball a little faster, up to a cap, so long rallies get progressively harder to survive.
Pong works well as a quick break game, a two-player time-killer when you have one laptop between you, or a simple reflex warm-up. Because it is a static page with no accounts and no network calls after load, it also runs fine on locked-down school or office machines and keeps working if your connection drops mid-match.
A few practical tips: aim with the edges of your paddle to create angles the AI struggles to chase, and use the center for safe, controlled returns when the ball is fast. The pause button (or the P key) freezes the game instantly if you need a break, and Restart resets the score to 0–0 at any time without reloading the page.