🎮 How to Play
- Player 1 (left): W up, S down.
- Player 2 (right): ↑ up, ↓ down (or AI in single-player).
- Block the ball with your paddle. First to 10 wins.
About this tool
Pong is the seminal 1972 arcade game designed by Allan Alcorn for Atari (then a four-person startup founded by Nolan Bushnell and Ted Dabney). It was not the very first video game (that honour belongs to Higinbotham's 1958 "Tennis for Two" oscilloscope demo and Russell's 1962 Spacewar!) but it was the first commercially successful one: roughly 8,000 cabinets sold by 1974 grossed about USD 40 million and effectively created the consumer video-game industry. The original cabinet used 73 TTL chips, no CPU, and a single line of code-equivalent logic: ball moves at constant velocity, paddle deflects with vertical position controlling the rebound angle, and the player who lets the ball pass scores 0 (the famous "1972 bug" that displayed a 0 score on the loser's side). This browser implementation keeps the same physics (constant ball speed, paddle-position-modulated rebound angle) and adds modern conveniences: an AI opponent for solo play, a difficulty selector (easy, medium, hard, insane), powerup capsules dropping from paddle hits, and a first-to-7 win target instead of the original first-to-11.
Common Pong pitfalls
- Hugging the centre line. The paddle reflects the ball at an angle determined by where the ball hits the paddle. Catching the ball with the centre of the paddle returns it on a low-angle straight shot, which the AI predicts easily. Use the top or bottom 30 percent of the paddle to inject steeper angles.
- Chasing instead of intercepting. Move the paddle to the predicted Y-intercept of the ball, not toward the current ball position. Tracking lags by one frame, so you arrive late.
- Ignoring powerup colour. Capsules marked with the green turtle slow the ball (useful when defending), but the orange flame speeds it up (dangerous when defending). Catching every capsule is not always good.
- Single-axis thinking. The ball's horizontal velocity is constant; only the vertical component changes with paddle hit position. Watch the vertical component to predict the rebound, not the ball's screen position.
- Multi-ball panic. When the multi-ball powerup spawns 3 balls, instinct is to chase the closest one. Better is to position at the median Y of the three balls and let your paddle catch them by inertia.
- Playing too far back. Hugging the edge maximises reaction time but loses angle control.
How to play this Pong
Choose game mode (single-player AI or 2-player local) and difficulty. Player 1 uses W and S, or mouse, or touch; player 2 uses up and down arrows in 2P mode (or the AI takes over in single-player). First side to 7 points wins. Coloured capsules occasionally fall from paddle contact; catch them to trigger bigger paddles, multi-ball, freeze, or other effects.
Worked example: paddle angle physics
Suppose the ball arrives at the paddle with horizontal velocity vx = 4.0 and vertical velocity vy = 0. If you hit the ball with the top 25 percent of an 80-pixel-tall paddle, the rebound vertical velocity becomes approximately vy_new = vx_new * tan(45 degrees * (offset / half_paddle)). With offset = -25 (above paddle centre) and half-paddle = 40, the new vy is about -2.5, sending the ball steeply upward at roughly 32 degrees. The same hit with the paddle's exact centre returns vy near 0 (a flat shot the AI catches easily). This is why deliberately off-centre hits beat the medium AI more often.
Difficulty reference table
| Difficulty | Ball speed | AI tracking speed | AI reaction probability |
|---|---|---|---|
| Easy | 3.5 | 3.0 | 0.6 |
| Medium | 4.0 | 4.5 | 0.9 |
| Hard | 4.8 | 6.0 | 0.97 |
| Insane | 5.5 | 8.0 | 1.0 |
Related games
If Pong feels familiar, try Breakout (Steve Wozniak's 1976 single-paddle Pong descendant), Snake (1976 arcade Blockade), or Tetris (Alexey Pajitnov, 1984).
Frequently asked questions
Who invented Pong?
Allan Alcorn coded the original Pong in 1972 for Atari, designed initially as a training exercise assigned by Nolan Bushnell. Bushnell himself had seen a similar ball-and-paddle game (Magnavox Odyssey's Tennis demo by Ralph Baer) at a Burlingame trade show earlier that year, which led to a 1974 patent settlement with Magnavox.
How did the original Pong cabinet work without a CPU?
The 1972 arcade Pong used 73 TTL (transistor-transistor-logic) chips wired into a fixed-function digital state machine: counters drove the ball's X and Y positions, comparators detected collisions with paddle and wall coordinates, and the rebound angle was a hard-wired function of paddle hit offset. There was no software and no programmable processor.
What is the trick to beating the Insane AI?
Insane AI tracks at speed 8.0 with reaction probability 1.0, meaning it intercepts almost every standard return. The exploitable gaps: very steep angles using top or bottom edge hits, the curve-ball powerup (which deflects mid-flight), and multi-ball spawns where the AI can only chase one ball with full speed. Win condition is to force the AI off-axis with consecutive curved or steeply angled shots.
Why does the ball speed up over a rally?
This Pong applies a small velocity multiplier on each successful paddle hit, matching the original arcade behaviour where the ball gained roughly 8 percent speed per rebound up to a cap. The speedup makes long rallies progressively harder to defend and forces decisive play, which is the design choice Allan Alcorn used to keep arcade sessions short.
Why is the score target 7 and not 11 or 21?
The original 1972 cabinet was first-to-11 (then occasionally first-to-15 in tournament settings). This browser version uses first-to-7 so a casual game finishes in about 60 to 90 seconds, which matches the median attention span for a web-based mini-game per Nielsen Norman Group session-length research.
