Arbon Qorri

All work ( case study · 01 / 10 )

RacketPhone

Game · WebGL · MotionPhone-as-Racket Tennis

3D tennis in the browser on any screen, where your phone is the racket: scan a code, swing, and its motion sensors play every shot.

Visit racketphone.com

Type
Browser game
Plays on
A TV or laptop browser, with a phone as the racket
Modes
Vs bot · 2 vs 2 · Online · Ranked · Practice
Status
Live
Stack
  • Vue
  • Three.js
  • TypeScript
  • Node
  • WebSocket
  • WebRTC

( how it plays )

From pocket to court in four points.

The game runs in a browser on a TV or laptop. The racket is whatever phone is in your pocket: no console, no controller and no app to install.

( a match, in five cards )

  1. Scan the code

    The big screen shows a QR code. Point the phone's camera at it and the controller page opens in the phone's browser.

  2. Join

    Type a name and tap Join. The phone becomes a player on that screen.

  3. Calibrate

    Hold the phone like a racket handle and give it a test swing. The racket on screen should follow your hand.

  4. Swing

    The phone's motion sensors read the stroke: forehand or backhand, topspin, slice or flat, with power from the speed of the swing.

  5. Timing aims

    A swing that peaks early pulls the ball crosscourt, a late one sends it down the line, and a perfect one gets called out on screen.

( overview )

A console game without the console.

RacketPhone is a 3D tennis game for the browser. The screen draws the court, and each player's phone is a motion-controlled racket, paired by scanning a QR code.

By default the players run to the ball by themselves, so all you do is swing. A thumbstick on the phone takes over the movement for anyone who wants it, and ranked matches require it.

You can play singles against a bot on three levels, doubles with a bot partner, a friend on the same screen, or people on other screens: casual, two against two or ranked. A practice mode feeds balls from a machine.

A rally seen from behind the player on a clay court: PERFECT! across the screen, with Backhand, Flat, 131 km/h and open court below it, and the scoreboard in the corner
Every hit is judged on its timing and named on screen, with the stroke, the speed and where it is going.

( reading a swing )

The phone decides what kind of shot it was.

The phone streams its motion sensors sixty times a second and runs the swing detector itself. A swing is recognised around its fastest moment and classified there: which side, how the racket face was tilted, how fast the head was moving.

Each swing is stamped with the time of its peak on the server's clock, so a slow network does not change how your timing is judged.

Online, the server runs the match and is the only judge of what happened. Each screen shows it a moment behind, so the ball moves in smooth arcs, while your own racket follows your phone directly.

( two screens )

One on the wall, one in your hand.

The RacketPhone lobby on the big screen: a player holding a racket beside a phone that shows the QR code to join, with Play and You vs Bot below
The phone's controller page after joining as player two, with a note on how the motion sensors are used and a Tap to enable motion button
The lobby lives on the big screen and works with a keyboard, a mouse or a TV remote. The phone asks for one permission, its motion sensors, and says what it uses them for.

( in numbers )

( let's build something )

Have a project in mind?

Whether it needs code, design, motion — or all three — I'd love to hear about it.

[email protected] LinkedIn WhatsApp