About |
Spectrum is a real-time space racing game built in vanilla JavaScript and deployed on Base.
HIDDEN-CORE MECHANIC
Every ship you forge has cosmic cores sealed inside — four elements (Nova, Rolo, Telex, Unik) in combinations you can't see. The cores only fire during races, in response to your THRUST/DRIFT calls. So a 3-core ship with a hidden Telex can outperform a 5-core ship with Nova, depending on the track — but you commit to the ship *before* you know its full loadout.
THRUST/DRIFT
Brutally simple binary input. THRUST commits all engine power to acceleration. DRIFT commits all lateral grip to cornering. You can't do both at once. The strategic question becomes: where on the track do I commit speed, and where do I commit control?
DAILY RACES
Meta rotates every day. Daily races open to everyone; rewards are SPEC tokens distributed on-chain after the race ends. Signer signature + verifier contract on Base.
MARKETPLACE
Peer-to-peer ship trading with a minimal escrow contract on Base: list → buy → settle. The hidden-core mechanic gets interesting when you can trade — players discover ships' core loadouts through racing, and trade the discovery itself.
TECH STACK
- Frontend: vanilla JS, ~200KB shipped, no framework
- Real-time: WebSocket relay, custom protocol
- Blockchain: Solidity contracts on Base, OpenZeppelin for ERC-20 + escrow
- Hosting: Vercel (static frontend) + a small VM for the relay
The game is free to play. A wallet (MetaMask) is only needed for forging and the marketplace. Racing is free without a wallet.
Solo-developed by Bheka Mchunu at Spectrum One Crew.