Decentralized 4X space strategy with simultaneous turns and persistent universe
Space Battle is a decentralized, simultaneous turn-based 4X space strategy game built on blockchain technology, designed to run indefinitely as a persistent living universe.
Core Gameplay & Structure The game operates on 24-hour "Epochs" with a 22-hour commit phase (players secretly plan actions) and 2-hour reveal phase (all actions resolve simultaneously). Players control an Empire, colonizing star systems, producing spaceship fleets, and expanding territory through conquest and diplomacy.
Fleet Mechanics: Fleets take multiple epochs to travel between systems based on distance. The commit-reveal system means enemies can't see where your fleets are heading until they arrive, creating deep strategic uncertainty.
Decentralized Architecture The game runs on blockchain networks with no central servers, ensuring permanent persistence, immutable rules, and true player ownership.
Strategic Depth The simultaneous turn system combined with hidden fleet movements creates a unique "fog of war" where players must commit to strategies without knowing enemy intentions. The indefinite duration means diplomatic relationships, territorial legacies, and alliance dynamics evolve organically over months and years.
It is made in Solidity, for the logic of the game. Everything happening onchain.
The frontend is implemented in Svelte + Typescript
The base repo was made from my game template. I had to modify the template heavily to fit the new type of game.
I also started to deisgn the core logic for handling the various edge-case of simultaneous turn game where action reveal tx order should not impact the result.
It is also designed to have no backend, only an rpc is needed and the game fetch all the state from it

