Paddle Duel is a take on the original two-paddle video game of table tennis, written in JavaScript by Jake Gordon. Two paddles guard the left and right sides of a black court, a small ball bounces between them, and each side tries to get it past the other. You can play the computer, play a friend on the same keyboard, or let the computer play both sides.
Keys for every mode
| Key | What it does |
|---|---|
| 1 | One-player game: you take the left paddle |
| 2 | Two-player game on one keyboard |
| 0 | Demo: the computer plays both sides |
| Q / A | Left paddle up / down |
| P / L | Right paddle up / down |
| Esc | Abandon the current game |
The paddles have no touch or mouse controls, so you need a physical keyboard. The arrow keys are not used; the Q/A and P/L pairs put the two players at opposite ends of the keyboard.
Rules of a match
When the ball gets past a paddle, the other side scores a point and the ball is served again at its starting speed. During a rally the ball keeps speeding up, so long exchanges get harder to return. The first side to reach 9 points wins, and a winner graphic appears on that side of the court.
How the computer adjusts
The computer does not play at one fixed strength. How often it recalculates where the ball will arrive, and how far off its guess may be, depend on the score. When it is behind, it reacts faster and aims more accurately. When it is ahead, it gets slower and sloppier, so matches against it tend to stay close. Turn on predictions in the sidebar to see where the computer expects the ball, and footprints to see the ball's recent path.
Tips for winning rallies
- The spot where the ball meets your paddle does not change the bounce. Your paddle's movement at that moment does.
- Move against the ball's vertical direction as it hits to send it back at a steeper angle. Move with it to flatten the return.
- After each return, drift back toward the middle, because the ball gets faster as the rally goes on.
- Steep returns that bounce off the top and bottom walls give the computer more to predict.
Find more two-player and reflex games in our arcade games. Paddle Duel was written by Jake Gordon and is released under the MIT License.
