Personal project / Cricket game
Boundary.
Time the stroke, find a gap, and call the run before the throw reaches the stumps.
The trailer couldn’t load. Try again, or open the video directly.
Screenshots
The guided first single. The camera widens to keep the ball and both runners in view.
The running view in a phone-sized browser, using the on-screen controls.
My work
Game design, the simulation, Three.js rendering and the batting and running controls.
Working with
TypeScript · Three.js · Fixed-step physics · PWA
Inside the build
From a shot to a score.
Context
Scoring depends on where the ball goes and whether both batters reach their creases.
How it works
The ball, CPU fielders and both runners share a fixed-step simulation. Runs are awarded when both batters reach their creases; run-outs are checked when a wicket is broken.
In the work
The public 5.0.1 release includes a guided first run, daily challenges, a club tour, offline solo play and private online matches.
- Scoring
- Completed runs and actual ball trajectories decide the score. Fielders chase the ball and return it to a threatened wicket.
- Interaction
- Set placement and intent before each delivery. Keyboard and touch share the same timing cues and actions.
- Delivery
- A static browser game with bundled assets and a service worker. Single-player batting and running, with CPU bowling and fielding.