IBM × U.S. Open Rally against Watson.
A tennis game where your opponent is IBM's AI. I designed and built it for IBM's 2025 U.S. Open takeover of IBM.com, where it was live and playable for 18 days.
- Client
- IBM · U.S. Open 2025
- Context
- IBM.com U.S. Open takeover
- Live
- 18 days · Aug 23 – Sep 9, 2025
- Role
- Game design & development
- Stack
- HTML5 Canvas, vanilla JS, IBM Plex
- Size
- One HTML file, zero dependencies
You see break points. IBM sees data points.
Every year IBM runs the digital side of the U.S. Open with the USTA: the app, the site, and the AI that reads every point as it is played. For the 2025 tournament IBM took over its own homepage with the line "You see break points. IBM sees data points."
The campaign, its headline and its illustrations were IBM's. My part was the game: the one piece of the takeover you could actually play. Its job was to turn the campaign's claim into something you feel in your hands. IBM says its AI reads the game. Here, it reads yours.
18d
The game was live and playable for 18 days, through the whole tournament, from August 23 to September 9, 2025: the same window IBM.com's homepage carried the U.S. Open campaign.
A game for the busiest page IBM has.
A game inside a global corporate site has rules a normal game does not. It cannot slow the page down, cannot depend on a framework or a game engine, has to load instantly and work the first time for someone who has never played it. It has to look like IBM, and it has to carry the campaign's idea without a tutorial.
Six constraints shaped every decision:
HTML, CSS and JavaScript in a single document. Nothing to install, nothing to bundle, easy to drop into any IBM.com page.
Plain HTML5 Canvas and requestAnimationFrame. No libraries, no engine, nothing that can break on launch day.
Two keys, ↑ and ↓. First to 11. No text on the court, only the score.
IBM Plex, IBM blue #0f62fe, IBM Design Language spacing. It sits inside IBM.com like it was always there.
The AI is Watson. It has to feel smart, never unfair, and get better as you do.
The fun is the long exchange, so the ball speeds up through a rally and caps before it becomes impossible.
Rally against Watson.
A press release tells you IBM's AI predicts the game. A game lets you lose to it. A tennis match on an IBM-blue court: you on the right, Watson on the left, first to 11.
Watson does not cheat. It watches the ball, predicts where it will cross its baseline, and moves there, with a human-sized margin of error that shrinks as you get better. The more you win, the smarter it plays. That is the U.S. Open AI story in thirty seconds of play.
One file. No libraries.
The game IBM shipped was a single HTML file: HTML5 Canvas, a requestAnimationFrame loop and IBM Plex. No framework, no game engine, nothing to load but the page itself, which is what a homepage placement needs.
What you just played is that engine, unchanged where it counts: Watson's prediction, the paddle physics and the tuning numbers above are the 2025 values, and the keyboard paddle still moves at 6. For this page it also follows a mouse or a finger, at up to 14 so it keeps up with your hand, pauses when you scroll away, and steps at a fixed 60 Hz so it plays at the same speed on any screen.
- 768×576
- Canvas court, IBM blue #0f62fe
- 0
- Dependencies
- 11
- Points to win the match
- +5%
- Ball speed every 3 hits in a rally
- 3
- Your points before Watson levels up
- 15
- Speed cap, so rallies stay playable
Prediction, not perfection.
An unbeatable opponent is boring and a random one is insulting. Watson sits in between: every frame it estimates where the ball will reach its side, adds a little noise, and steers its paddle toward that point at a capped speed. This is the actual code from the game.
// Watson reads the ball and predicts where it will arrive
const timeToReach = (computer.x - ball.x) / Math.abs(ball.dx);
predictedY = ball.y + (ball.dy * timeToReach * aiReactionTime);
predictedY += (Math.random() - 0.5) * aiPredictionError; // human-sized doubt
// every 3 points you win, Watson gets sharper
aiReactionTime = Math.max(0.3, 0.7 - level * 0.05);
aiPredictionError = Math.max(10, 30 - level * 2); // px of noise
const maxSpeed = PADDLE_SPEED * (0.6 + level * 0.08);
ballSpeedMultiplier = 1 + level * 0.1;
Prediction noise 28px, paddle at 68% of your speed, ball at 1.1×.
Noise 22px, paddle at 92% of your speed, ball at 1.4×.
Noise floors at 10px, paddle at 140% of your speed, ball at 2×.
Where you hit it is where it goes.
The control that makes a paddle game feel like tennis is the angle. The ball leaves the paddle at an angle set by where it hits: dead centre goes straight back, the edge of the paddle sends it steep. That gives a two-key game real shot-making.
Every third hit in a rally adds 5% speed, capped at 15, so rallies build tension without becoming impossible. A last-hit guard stops the ball from registering twice on the same paddle, a classic bug in fast Canvas games.
// angle comes from where the ball meets the paddle
const relativeIntersectY = (paddle.y + paddle.height / 2) - ball.y;
const normalized = relativeIntersectY / (paddle.height / 2); // -1 … 1
ball.dx = -ball.dx;
ball.dy = -normalized * 6;
// rallies build: +5% every 3 hits, capped
if (++rallyCount % 3 === 0) {
ball.dx *= 1.05; ball.dy *= 1.05;
if (Math.abs(ball.dx) > MAX_BALL_SPEED) ball.dx = Math.sign(ball.dx) * MAX_BALL_SPEED;
}
Court artwork drawn as the background, paddles with soft shadows, the ball with a glow so it reads at speed.
Running, paused, winner. Scores, level and rally count live in a handful of variables, easy to reason about.
Paddle speed 6, serve speed 4, ball cap 15, first to 11, plus Watson's per-level noise and speed: the whole feel lives in a few numbers.
Behind the court: IBM's AI at the Open.
The game sat inside a much larger story. IBM runs the U.S. Open's digital platform with the USTA, capturing ball, racket and player positions dozens of times a second and turning them into AI features for millions of fans: live likelihood to win, AI-generated match analysis, personalized updates, built with watsonx and IBM Granite.
The game's job was to make that system feel human-sized: thirty seconds against an AI that predicts where the ball is going, and the campaign's claim stops being abstract.
Figures as published by IBM in its U.S. Open case study, ibm.com/case-studies/us-open.
Credits
Todd Ivon
IBM.com · IBM's U.S. Open 2025 campaign