BitcoinDerby
A live blockchain horse racing and betting game built in Unity WebGL. Players connect crypto wallets to race their Bitcoin Ordinals NFT horses, bet gems on race outcomes, and compete in AI-driven quests, all in real-time multiplayer with up to 100 live spectators per race.
šÆ The Challenge
The core challenge was integrating 5 completely different crypto wallet SDKs across 2 separate blockchains (Bitcoin Ordinals and Ethereum) into a single Unity WebGL game, each wallet has its own authentication flow, API structure, and browser-based communication pattern. Simultaneously, the game required a real-time multiplayer race architecture capable of broadcasting live race state to 100 concurrent viewers while remaining stable on a WebGL client. Coordinating blockchain authentication, live server state, a gem economy, Stripe payments, and a full quest system as a sole developer within a continuously evolving client brief was the defining challenge of the project.
š” Our Solution
I architected each wallet integration as an independent, interchangeable authentication module, same interface, different provider, allowing the game to support 5 wallets without duplicating core logic. For the multiplayer layer, I chose Photon Fusion Dedicated Server Mode deployed as a headless build on AWS EC2, which gave the stability and concurrent session capacity needed for live race broadcasting. The gem economy was centralised through a REST API backend, decoupling all currency transactions from the client. Stripe was integrated with server-side webhook validation to ensure gem credits only fire on confirmed payments. The Quest system was built as a fully client-side simulation scheduled via API, removing the need for a dedicated server session and keeping infrastructure costs minimal.
š Results
Want something like this?
Tell us about your project and we'll give you a free consultation and estimate.
More Projects
Little Forever
A beautiful, themeable digital baby journal app built with Flutter. It allows parents to effortlessly track milestones, capture memories, and share interactive web announcements with family and friends.
Desktop Application ā Electron + ReactPrintFlow ERP
A cross-platform desktop inventory management system built with Electron and React, backed by Firebase Firestore for real-time cloud synchronization. Manages raw material procurement, finished goods production, purchase/delivery orders, and a multi-phase job card workflow across a role-based team.
Desktop Application ā Electron + ReactIllyas Akbar Cycle Works ā POS System
A fully offline, bilingual (English/Urdu) Point-of-Sale and business management desktop application built for a cycle spare parts retail shop. Covers the complete business workflow, from inventory and billing to staff payroll, vendor accounts, and financial reporting.