Play free

About

About Palm Court

An independent tennis game you play with real swings, right in your browser: who makes it, why, and how.

The idea

Tennis games usually turn a racket swing into a button press. Palm Court goes the other way: you swing, and the game reads the swing. Your phone becomes the racket handle, or the webcam follows your hand or your racket arm. Prefer buttons? Pick up a PlayStation, Xbox or Switch controller and let go of a shot button as the ball arrives. The player on court does the running, so all that’s left for you is the part that feels like tennis: the timing, the shape and the speed of your stroke.

It runs in a web browser with nothing to install, so a match is one link away, whether you want a quick tiebreak against the CPU or a set against a friend in another city.

Who makes Palm Court

Palm Court is an independent project, made and run by its developer, who is based in Quebec, Canada. It is not a studio product. The same person is identified as responsible for the game’s data in the privacy policy, and answers the messages that come in through the contact page.

Pages here are signed “the Palm Court team” because that is the name of the project, not because a large staff stands behind it.

Why it exists

The aim was to find out what tennis feels like when the controller is your own swing, and to make that something anyone can try in thirty seconds. A browser game can be shared with a link. It runs on a laptop, a school computer, a Chromebook or a handheld, and it needs no install and no account. The cost of that choice is that everything is written from scratch and the size of every feature is watched, which suits a small project that wants to stay quick to open.

The players are fictional characters with parody names, so the game can have a tour, rivals and personalities without borrowing anyone’s identity.

How it works

  • Phone racket: the racket page on your phone reads its motion sensors, spots each swing and sends it to the game in a few milliseconds.
  • Webcam: an on-device hand or body tracker follows your racket hand or arm through the camera. Frames are analysed in the page and never leave your computer.
  • Game controller: the browser reports a PlayStation, Xbox or Switch pad to the page. You hold a shot button to charge it and let go as the ball arrives; the release is the swing, and the left stick aims.
  • The court: a 57.7 gram ball is simulated 240 times a second with gravity, air drag and the lift that spin creates, on a court with the official dimensions. Three surfaces change the bounce, and a line review draws the ball’s mark against the line, using the rule that a ball is in if any part of its mark touches it.
  • The opponents: each computer player is nine style numbers (aggression, topspin, slice, drop shots, net play, serve, consistency, defence and speed) plus a few habits, at one of three skill levels. It is tested by playing many simulated matches in a script and checking that each pro wins and loses in the ways their style suggests.
  • Online matches connect the two browsers directly, peer to peer.

For the longer version, with the reasoning behind each choice, read how Palm Court is built, and for what the numbers mean in play, the guides.

Built with

Palm Court stands on excellent open-source work: three.js for 3D graphics (MIT licence), Google’s MediaPipe hand tracker (Apache 2.0), PeerJS for peer-to-peer connections (MIT) and the Big Shoulders Display and Barlow typefaces (SIL Open Font License). Every model, texture and sound in the game is generated by its own code, and the umpire’s and commentator’s voices are your own device’s speech voices. The credits page lists every licence.

How the guides are kept accurate

The guides, the pros page and the news page are written for people who play the game or are curious about it. The numbers in them (court sizes, rewards, unlock levels, prices, how a swing becomes a shot, what each setting does) are read from the game’s own code and data when a page is written, and each page shows the date it was last updated. When the game changes, the pages are updated. The guides on tennis technique explain the sport in general terms for players of the game; they are not a replacement for a coach.

If something is wrong, out of date, or unclear, please say so on the contact page: a correction is the most useful message we can get. The glossary and the FAQ are kept to the same standard.

What happens to your data

In short: camera frames are analysed on your device and never uploaded, recorded or stored. Your settings and progress are saved in your own browser, with an optional anonymous online backup that you can switch off in Settings. An email address is stored only if you choose to make an account. The ads on this website, and in the web game if it shows them, come from Google, which uses cookies and asks for your consent first where the law requires it; your game progress and camera picture are never sent to advertisers. The privacy policy has the full list, the cookie policy lists what the game keeps in your browser, and the terms of use cover the rest.

How to contact us

Questions, bug reports, corrections and ideas are welcome on the contact page, or by email at palmcourt.game@gmail.com. The developer reads every message, and a reply can take a few days. A good bug report names your browser and device, the controls you use, what you did and what happened. Requests about personal data, and press or business questions, go to the same address. News and clips are also posted on Instagram as @palmcourt.game.

What’s next

The browser version is free to play and stays free; advertising from Google helps pay for it. A full release for Windows is planned on Steam, without ads, with more tour events and cosmetics on top of the same game; the browser game is a complete game on its own.

The players in Palm Court are fictional characters. Their names are playful parodies inspired by real-world tennis stars, and the tournaments and sponsors are fictional too. Palm Court is not affiliated with, sponsored by or endorsed by any real player, tour, tournament or brand, and uses no real person’s name, image or likeness.