How to play
A ball crosses a rectangular table. You own the bat on one side and your job is to be standing in the right place when the ball arrives, then send it back somewhere the other bat is not. If the ball goes past you, the other side scores. First to eleven points takes the match, and the serve alternates after every point regardless of who won it, so nobody gets a run of free openings.
The table shows four numbers above it. Two of them are the score. Rally counts the bat contacts inside the point being played right now, and Best rally is the longest one your browser has recorded on this device — that number is stored locally and survives a page reload, while the match score does not.
In one-player mode you play the left bat and the computer takes the right one. In two-player mode both bats are human and share a keyboard, one hand each. The computer skill selector switches off in two-player mode because nothing is left for it to control.
Controls
- Left bat: W up, S down. In one-player mode the arrow keys move the left bat as well, so you can play with either hand.
- Right bat (two players): ↑ and ↓.
- Pause: Space, or the Pause button. Switching browser tabs pauses the match on its own.
- Touch: drag anywhere on your half of the table. Two fingers work at once, so two people can share a tablet.
- Mouse: hold the button down and drag vertically over your half.
The contact point is the entire game
Beginners think a paddle game is about reflexes. It is not, or at least not mainly. It is about choosing where on your bat the ball lands, because that single value decides the return angle. Here the rule is deliberate and easy to test: a hit in the exact middle of the bat sends the ball back flat, a hit at the extreme top or bottom edge sends it out at roughly 53 degrees, and the values in between scale in a straight line. Nothing else feeds in. Moving your bat at the moment of contact adds no spin and no extra pace — it only changes which part of the bat gets there first.
That gives you a real weapon. If the opposing bat is sitting low, catch the ball on the upper third of yours and it climbs away from them. Against the computer this works far better than it sounds, because the machine reacts to where the ball is, not to where it will be. Steep returns force it into a long vertical trip while the ball is already crossing the table.
The flat return has its own use. Late in a rally, when the ball has picked up speed, a centre hit travels the shortest possible path and arrives before an opponent who has drifted off the middle line can recover. Rally after rally, the pattern that wins points is: two or three steep returns to drag them to one edge, then one flat one straight through the gap they just left.
The other habit worth building is returning to the middle after every shot. A bat parked at the centre is never more than half a table height from anywhere the ball can arrive. A bat left at the top edge after a winner is a point waiting to be conceded.
Milestones we recorded playing each other, which makes them estimates and not verified records: beating Rookie 11–4 or better is a normal first session. Steady usually turns into 11–8 matches in either direction once you stop chasing the ball and start returning to the middle. Sharp tends to win the first several matches against a new player; taking a single point off it with a deliberate edge-of-the-bat angle is the moment the game clicks. Rallies over twenty hits happen mostly on Sharp, because it is the only level that reliably reaches everything you send back.
How the computer opponent actually behaves
There is no cheating in the code and no hidden magnet on the ball, so it is worth knowing exactly what the three levels change. Each one sets three numbers. The first is the top chasing speed of the computer bat in pixels per second — this is a hard ceiling, and it is the reason a fast enough ball simply cannot be reached. The second is an aiming error added to the ball position, redrawn once per leg of the rally, which is why the machine sometimes commits to a spot slightly off and cannot correct in time. The third is how far the ball has to travel across the table before the computer starts moving at all; on the lower levels it waits until the ball is past the halfway mark, which is a real head start for you.
Rookie is slow, has a wide error and reacts late. Steady sits in the middle and loses points mostly to angle work. Sharp starts moving immediately, is almost exact, and can only be beaten by returns whose geometry it cannot cover in time — which brings you right back to the contact point.
One more detail that matters at the table: every bat contact multiplies the ball speed by 1.045, capped at a ceiling, then resets to the serve speed after each point. A fifteen-hit rally is running at roughly double the serve speed by the end, so long points get decided by whoever cracks first, not by whoever is more patient.
Where bat and ball games came from
The genre is older than the arcade business that made it famous. In 1958 the physicist William Higinbotham built an interactive tennis display on an analogue computer and an oscilloscope for a visitors' day at Brookhaven National Laboratory — a side-on court with a ball that arced over a net. In 1972 the Magnavox Odyssey, the first home console, shipped with a tennis game designed by Ralph Baer, and in the same year Atari released the coin-operated cabinet, programmed by Allan Alcorn, that turned the format into a commercial phenomenon.
Those are historical facts, not a claim of kinship: the Atari title and its name are that company's trademark, and this game has no connection to it or to any other rights holder. Pong Rally is our own implementation of a public genre — a bat, a ball and a wall — written for this site from scratch. What we added is our own: the linear angle mapping described above, three computer profiles built from three readable numbers instead of a difficulty multiplier, a two-player keyboard layout, and serve directions that alternate rather than rewarding the player who just scored.
Questions players ask
Does moving my bat while the ball hits it add spin?
No. Only the distance between the contact point and the middle of the bat matters. Centre is flat, the edge is about 53 degrees, everything between is linear. Movement matters because it changes where contact happens, not because the bat pushes the ball.
What changes between the three computer levels?
Top chasing speed, aiming error and how late it starts reacting. Rookie is slow, sloppy and late; Sharp is fast, near exact and immediate. Against Sharp you win with angles it cannot cover in time, not with surprises.
Why does the ball get faster during a rally?
Each bat contact multiplies the speed by 1.045 up to a ceiling, so a long point ends much faster than it began. Without that, a patient defender could keep one point alive indefinitely. The speed resets at every serve.
Can two people play on the same phone?
On a phone it is cramped but it works; on a tablet it is genuinely playable. Each player drags a finger on their own half of the table and both touches are tracked separately.