Air hockey is a game for two players at opposite ends of a table. Each guards a goal at their end with a mallet and tries to knock the puck into the other’s goal. On a real table the puck floats on a cushion of air; on this site the whole table is on your screen, and the puck slides and bounces by the same rules every time. This guide gives every rule as this site plays it, how it settles the arguments people have over real tables, and the controls for each player.
Overview
| Feature | Details |
|---|---|
| Players | 2 at once on one screen, or 1 against the computer |
| The table | Upright on a phone, Red’s goal near you; lying across a computer screen, Red’s goal on the left |
| A point | From a countdown to a goal |
| A match | First to 7 goals (or 5, or 10) |
| Typical time | 3 to 5 minutes a match |
| Options | Goals to win; Puck: Normal or Big |
The table

The table from above, as a phone lying flat shows it: Blue’s goal at the far end and Red’s at the near end, each a slot in the rail, with a curved crease in front of it. The centre line splits the table into the two halves, and the corners are cut off at an angle.
The table is a long rectangle, 1.6 times as long as it is wide, with a rail all round it. In the middle of each short end the rail has a slot: that player’s goal. The goal is a third of the table’s width. The four corners of the table are cut off by short rails at an angle, so the puck never gets stuck in a corner.
The centre line divides the table into two halves, one for each player. Red plays in the half nearest their own goal, Blue in the other one. The circle in the middle and the curved creases in front of the goals are only markings: they help you judge where you are, but nothing happens when the puck or a mallet crosses them.
Each player has one mallet, a round paddle in their colour with a ring round its knob and their letter on top: R for Red, B for Blue. The puck is a smaller dark disc (a light one in dark mode). The mallet is a little under twice as wide as the normal puck.
Choosing who plays
In the setup choose With a friend for two people or vs Computer to play on your own. The computer always takes Blue at the far end, and you take Red. With a friend, Red is the person at the near end of the phone, or on the left of a screen that is wider than it is tall. Pick the computer’s level, the number of goals to win and the puck, then tap Start.
How a point works
A match is played in points, and every point is one goal. A point begins with a countdown of three beats on the first point of a match, and of one beat after each goal. During the countdown you can already move your mallet; the puck waits.
The puck starts at rest in the middle of one player’s half. On the first point of a match the half is chosen at random. After a goal, the puck always starts in the half of the player who let the goal in, so they get the first touch.
From then on everything happens at once. Each player moves their own mallet anywhere in their own half. A mallet follows your finger, the mouse or your keys at up to its top speed, which is the same for everyone, the computer included. It can’t cross the centre line: drag past it and the mallet waits at the line, its edge touching it. It can’t go into the corners either.
When a mallet meets the puck, the puck bounces off it. A still mallet sends the puck back with a little less speed than it came in; a mallet moving into the puck adds its own speed, so the faster you move through the puck, the harder you hit it. A hard hit can send the puck the length of the table in about three tenths of a second. Because a mallet’s speed is limited, the puck can be faster than any mallet once it is moving.
The puck slows down on its own as it slides, more when it is fast. A gentle hit drifts less than the length of a half and stops after three or four seconds; a hard one is still going after several bounces.
Goals

Blue’s goal, close up. The puck on the left of the slot has its centre over the goal line: a goal. The one on the right is mostly in the slot, but its centre has not crossed the line yet, so play goes on. The one against the end rail beside the slot can never go in from there.
A goal is scored when the centre of the puck crosses the goal line between the two posts of the slot. The goal line is the inside edge of the rail across the mouth of the slot. A puck that is half over the line is still in play; one that touches a post bounces off it like a rail.
The point is over at once. The table stays as it was for a moment, with the puck in the slot and Goal! on the screen, then the next point counts down.
Own goals
A goal counts for the player whose goal the puck did not go into, whoever touched it last. If you hit the puck into your own slot, or a shot bounces off your mallet and in, the goal is the other player’s. There is no such thing as a goal that doesn’t count.
Rails, corners and bank shots
The rails keep the puck on the table. When the puck hits a rail it bounces off at the same angle it came in at, keeping almost all its speed along the rail and nine tenths of its speed across it. The corner rails turn a puck that runs into a corner back out of it. The end rails beside each goal are rails like any other: a puck that hits the end beside the slot bounces back into play.
A bank shot uses a rail on purpose: you hit the puck at a side rail so that it comes off it toward the goal. It arrives at an angle, often round a mallet that was waiting for a straight shot.
Step through a bank shot
Step 1 of 5: The puck is at rest in Red’s half. Red moves round it, to the right and behind, lined up with the left rail.
Notice what decided it. Blue was standing where a straight shot from the puck would go, in the middle of its goal. Red did not shoot there. The puck came off the rail toward the near post, and Blue’s mallet was too far across to reach it. The Air Hockey tutorial shows how to set up bank shots and how to defend against them.
A puck nobody plays
A puck can come to rest where nobody hits it, or a player can hold it against a rail with their mallet and wait. To keep the game moving, a puck that stays still, or crawls more slowly than a gentle push, for six seconds goes over to the other player:
- In one player’s half, the puck is pushed across the centre line toward the other player, and stops a little way into their half.
- On the centre line, where either mallet could reach it, it goes toward the player who did not touch it last. If nobody has touched it yet in that point, it goes either way at random.
- Held against a rail by a mallet, it is put down at rest in the middle of the other player’s half.
Six seconds is a long time in air hockey, so this hardly ever happens in a lively game. It does stop a player from sitting on the puck in a corner, and it keeps a game going if someone puts the phone down.
Winning the match
The first player to reach the number of goals chosen in the setup wins the match: 7 unless you chose 5 or 10. You don’t need to be two goals ahead, so 7 to 6 is a win. The result shows the final score, and Rematch starts a new match with the same players and options.
The rules people argue about
Air hockey on a real table comes with a few rules that players argue about. This version settles each one in a way that can’t be argued with:
- Reaching over the centre line. On a real table, hitting the puck in the other player’s half is a foul. Here it can’t happen: your mallet stops at the line.
- A puck stopped on the centre line. Real players argue over whose it is. Here either player may hit it, and if neither does, after six seconds it goes to the player who didn’t touch it last.
- Holding the puck. Real rules give each player a few seconds to shoot once the puck is in their half. Here the six-second rule does the same job for a puck that is still, crawling or held.
- Own goals. Some people play that a goal you knock in yourself doesn’t count. Here it always does.
- When is it in? On a real table the puck has to drop into the goal. Here the centre of the puck crossing the goal line is the goal, the moment it happens.
- Topping and lifting. A real mallet can be lifted over the puck or brought down on top of it. Here mallets and the puck stay flat on the table, so neither is possible.
Options
- Goals to win: 5, 7 (the default) or 10.
- Puck: Normal, or Big: half as big again and a quarter slower at its fastest. It is easier to hit and harder to slip past a mallet, which suits young children and new players.
- Computer level (vs Computer): Easy, Medium, Hard or Adaptive, which goes up a step after you win a match and down a step after you lose one.
Controls
| Red (near end, or left) | Blue (far end, or right) | |
|---|---|---|
| Touch screen | Drag a finger in your half | Drag a finger in your half |
| Mouse | Move it over the table (no button) | |
| Keyboard, two people | W A S D | Arrow keys |
| Keyboard, alone vs Computer | Any of W A S D or the arrows | The computer |
On a touch screen each finger belongs to the half it first touches, so two people can drag at once. Playing alone against the computer, you can touch anywhere on the table: your mallet heads for the nearest spot in your half. Keys move the mallet while you hold them, in the direction on the screen. P or Esc, or the Pause button, pauses the game; resuming counts down two beats first. If the page reloads during a point, the match is still there and that point starts again from its beginning, because only finished points are saved.
Glossary
- Bank shot: a shot played off a side rail so that it comes at the goal at an angle.
- Crease: the curved line in front of each goal. A marking only.
- Goal line: the line across the mouth of the slot. The puck’s centre over it is a goal.
- Mallet: the round paddle each player moves.
- Own goal: a puck that goes into your goal off your own mallet. It counts for the other player.
- Post: either end of the goal slot.
- Rail: the edge of the table that the puck bounces off.