KOJP

Tennis Rally Online Game

A 1 on 1 singles tennis match on a court seen from above at an angle. Run to the ball, time your swing, and win points with power shots, lobs and drop shots

One set of 4 or 6 games · 3 computer levels · 2 players on one screen

Press a swing button as the ball comes close. The closer you press to the moment of contact, the harder the shot, and the ball flies toward whichever direction you are holding. If the ball lands in the other court and your opponent cannot return it before the second bounce, you score.

Controls

Arrow keys or WASD: move and aim
Space or J: hit (a power shot with good timing) · K: lob · L: drop shot
Mouse: drag to run, click to swing, right click to lob
Phones: a stick and three swing buttons
Two players: bottom WASD+Space/Q/E, top arrows+/ . ,
P or Esc: pause

How do you play Tennis Rally?

Run to where the ball will land and press a swing button just before the ball comes within racket reach. The ball goes toward the direction you are holding at contact, and if your opponent cannot get it back, you win the point.

The camera looks down on the court from above the stands. The red player at the bottom is you; the yellow player at the top is the computer or your friend. The ball always has a shadow under it, so the gap between the ball and its shadow tells you how high it is. While your opponent's shot is in the air, a dashed ring blinks where it will first bounce so you know where to run.

You can hit the ball after one bounce or before it bounces (a volley). Hitting a ball high above your head turns into a smash automatically. The serve, however, must bounce once before it can be returned.

What do the three swing buttons do?

Hit sends a fast, low, deep ball; Lob lifts it high over your opponent; Drop dies just over the net. The same button also changes with your timing and the direction you are holding.

ButtonShotBest used when
HitTopspin drive that flies low and lands deep. With good timing it becomes a faster power shotMost rallies
LobA very high arc that lands near the back of the other courtYour opponent is close to the net
DropBackspin shot that bounces low just past the netYour opponent is far behind the baseline
SmashHappens on its own when you hit a high ball with Hit or Drop. Very fast and steepYour opponent's short lob

Hold left or right at contact to aim near that sideline, or hold nothing to send the ball toward the middle. Adding forward (toward the net) makes a short, sharp angle; adding back sends it deep near the baseline. Bigger angles are harder to reach but also more likely to go wide.

How do I hit a power shot?

Press swing about 0.1 seconds before the ball reaches your racket. The ball leaves an orange trail, flies much faster, and the screen shakes a little with a POWER! label.

Press far too early and you swing at air. A little early or late and the ball is slower with a shaky direction, so it often goes out. Very late and you mishit it into the net. A good rule at first is to press half a beat before the ball feels like it has reached your side.

How do I serve?

On your serve, press swing once to toss the ball up, then press again when it reaches the top. A shrinking ring appears around the ball and turns green at the best moment.

The serve must land in the service box diagonally across the net. You can move left or right along the baseline before the toss. Hold outward at contact for a wide serve, inward for the T, or nothing for a body serve. Missing the box or hitting the net is a fault; the second serve is slower but safer, and two faults in a row is a double fault that gives the point away. A serve your opponent cannot touch is an ace.

How is the score counted?

Just like real tennis: 0, 15, 30, 40, and one more point wins the game. The first to the chosen number of games wins the set and the match.

SituationResult
Your ball lands in and your opponent cannot return it before the second bounceYour point (winner)
Your ball lands outside the linesOpponent's point (out)
Your ball does not clear the netOpponent's point (net)
40 allDeuce. Win a point for advantage, then one more for the game
First to 4 games (6 in a full set)Wins with a 2 game lead
4 all (6 all in a full set)Tiebreak to 7, win by 2

A ball touching any part of a line is in. The serve changes every game, and winning your opponent's service game shows a big BREAK! banner. Under the scoreboard you will see deuce, advantage, break point, match point, and the rally count once it passes 4.

What is different about the three computer levels?

Easy is slow and often misjudges where the ball will land. Normal predicts the landing spot and gets there early. Hard also aims for the corner farthest from you and lets balls that are going out fly past.

LevelFeetReactionShots
EasySlowRechecks every 0.4 s, large position errorsRandom directions, frequent errors
NormalFairly quickEvery 0.2 s, predicts the landing spotAims for open court about half the time, lobs if you rush the net
HardQuickEvery 0.1 s, near exact predictionFar corners and sharp angles, mixes drops and lobs, leaves out balls

Tips for winning

  1. Watch the dashed ring, not the ball. As soon as your opponent hits, the first bounce spot appears. Stand a little behind it and half a step to the side for a comfortable swing.
  2. Return to the middle after each shot. If you stay in a corner, you cannot reach the next ball to the other side.
  3. Hit behind your opponent. If they just ran to the right, send the next ball to the left corner.
  4. Mix drops and lobs. Drops work when your opponent stands deep behind the baseline; lobs work when they come forward.
  5. Do not force power. A mistimed swing often goes out, so on hard balls it is better to send it to the middle and keep the rally alive.

Controls and two player mode

Wins per level and your longest rally are stored only in this browser and are never sent to a server. The players, crowd, court, ball sounds and applause are all drawn and synthesized in code.

Frequently asked questions

Is Tennis Rally free?

Yes. It is free to play on this page with no sign up, on computers, phones and tablets.

How do I hit the ball?

Run to where the ball will land and press a swing button just before the ball comes within racket reach. The ball goes toward whichever direction you are holding at contact.

How do I hit a power shot?

Press swing about 0.1 seconds before the ball reaches your racket. Perfect timing gives a much faster power shot. Swing too early or late and the ball is slower and more likely to go out.

How do I serve?

Press swing once to toss the ball, then press again when the ball is at the top. The ring around the ball turns green at the best moment. Hold outward for a wide serve, inward for the T.

Is the scoring like real tennis?

Yes. Games go 0, 15, 30, 40 with deuce and advantage, and the first to 4 games (or 6 in a full set) wins. If the games are level the set ends in a tiebreak to 7.

Can two people play?

Yes. Choose Two players: the bottom player uses WASD with Space, Q and E, the top player uses the arrow keys with / . and , on one keyboard. On phones each player gets a stick and buttons on their half of the screen.

How strong is the Hard computer?

It reads the landing spot almost exactly, aims for the far corner and sharp angles, mixes drop shots and lobs, and lets balls that are going out fly past.

Are my records saved?

Wins per level and your longest rally are saved in this browser only. Nothing is sent to a server, so they do not appear on other devices.