Skip to main content
Ali Hassan
← All Projects
Game · In Development

Cricket Commander

A full cricket simulation game, built solo from a custom match engine to real online multiplayer — currently in alpha.

React 19TypeScriptViteTailwind CSS 4PeerJS (WebRTC)CapacitorAndroid
V0.1 Alpha — Not Yet Public
Cricket Commander main menu
The Motivation

Most cricket games are shallow — or closed source

I wanted to build a cricket simulator with real depth — tactics, player stats, tournament structure — and actual online multiplayer, not just a single-player toy. Rather than reach for an existing game engine, I built the whole simulation and its multiplayer layer myself, in the browser.

The Build

A custom engine, real multiplayer

Cricket Commander runs on React 19 and TypeScript with a hand-built match engine that models pace, spin, and bounce per stadium, squad selection across 30-player rosters with role-specific stats, tactical setup, and multiple formats — quick exhibition matches, best-of series, and an 8-team World Cup mode.

The multiplayer layer runs on PeerJS over WebRTC, so two players can connect and play a live match peer-to-peer without a dedicated game server. The whole thing is also packaged as a native Android app via Capacitor, so the same codebase ships to both web and mobile.

Inside The Game
Match Setup

Match Setup

Squad Selection — 30 Players

Squad Selection — 30 Players

Pick Teams

Pick Teams

Where It Stands

Deep in alpha, not yet public

Cricket Commander is buildable today — a working debug APK exists alongside the web build — but it's still v0.1 alpha and not yet released. It's the project where I get to be both engineer and game designer at once, and it's still actively evolving.

Get In Touch

Let's build something
extraordinary together

Got a project in mind? Need a technical partner? Or just want to talk about the latest web tech over virtual coffee? Let's connect!

Location

Pakistan

Available for work

Open to freelance projects and full-time opportunities