Most of my day-to-day life is spent inside the web ecosystem. Between running Clockwork, managing dedicated WordPress server fleets, optimizing Astro static sites, and writing CLI tools, my professional world revolves around web architecture and high-performance hosting.
That is what pays the bills. But every once in a while, you need a project that exists purely for the joy of building something cool.
For me, that project is Blocky Strategery: a turn-based, medieval 4X strategy game built specifically for mobile using React Native, Expo SDK 54, and Shopify Skia.
Here is the story behind why I decided to build it, how it works, and what writing a game from scratch taught me after twenty-five years in web development.
The Problem with Mobile Strategy Games
I have loved grand strategy games my entire life. Growing up in the 90s, when I was not busy dialing into local BBS networks or tinkering with 3D animation, I was sinking countless hours into classic turn-based empire builders like Civilization.
The problem today is time. If you boot up a modern 4X game on a desktop or console, you are signing up for a six-to-twelve hour marathon. As an agency founder and father, sitting down for a twelve-hour gaming session just does not happen anymore.
So you turn to your phone or iPad, hoping to find a quick strategic fix. And what do you find?
The mobile gaming market is largely an ad-riddled, pay-to-win wasteland. Games masquerading as “strategy” are usually timers and gem-packs in disguise: pay $4.99 to speed up your barracks upgrade, wait three days for your army to march across a map, or get pummeled by someone who spent hundreds of dollars on microtransactions.
I wanted something different:
- A true 4X experience (eXplore, eXpand, eXploit, eXterminate).
- Designed for a 20-to-30 minute session that you can start and finish on a lunch break.
- Pure single-player against smart AI with zero ads, zero microtransactions, and zero waiting.
Nobody was building the exact game I wanted to play. So, I built it myself.
What is Blocky Strategery?
Blocky Strategery drops you into a stylized, procedural medieval world set across the British Isles.
From the title screen, you pick from ten authentic medieval cultures (Anglo-Saxons, Normans, Scots, Welsh, Picts, Irish, Cornish, Cumbrians, Danes, and Islesmen). Each tribe brings its own heraldic colors, authentic historical place-name pools (like Wintanceaster, Caer Dydd, and Dùn Èideann), and unique starting perks, such as bonus starting gold, free technologies, or combat terrain advantages.
The core gameplay loop hits all the classic 4X beats without the bloat:
- Explore: You start with a Wayfarer and a Scout unit surrounded by a black Fog of War. As units move, they unveil terrain. You retain permanent memory of land and resources you have discovered, but enemy units only appear when they are actively within your sight radius.
- Expand: Settle cities on fertile tiles. As your cities grow in population, their cultural border rings expand outward (from 3x3 to 5x5 to 7x7 tiles), claiming surrounding land.
- Exploit: Found roads, irrigate farms, and mine hills. Cities connected through contiguous territory establish trade routes, yielding bonus gold per turn. Tap into an 8-technology tech tree spanning Bronze Working, Masonry, Horseback Riding, and Philosophy.
- Exterminate: Train Footmen, Archers, Horsemen, and Galleys. When positioning units to attack adjacent rivals, an odds preview calculates your predicted win probability so combat is tactical, not a guessing game.
To keep the 20-minute play session fast and prevent late-game micro-management fatigue, I built automated modes: toggle a Serf unit to Auto-Worker (“A”) and it intelligently tiles roads, farms, and mines across your borders. Toggle a combat unit to Auto-Explore (“E”) and it runs breadth-first search pathfinding to scout the nearest unexplored fog tiles, fanning out naturally without clumping.
You win in one of three ways:
- Conquest: Capture every rival capital.
- Tech: Be the first kingdom to research Philosophy.
- Time: Hold the largest territory and population when the turn limit strikes.
The Tech Stack: Why React Native and Skia?
When developers hear “I built a mobile strategy game,” the immediate assumption is that I fired up Unity, Unreal Engine, or Godot.
Those are incredible engines, but they come with massive overhead: dozens of gigabytes of tooling, heavy binary sizes, and a completely different programming paradigm.
I am a TypeScript and web architect. I wanted a fast, lightweight developer loop where I could leverage my existing strengths. That led me to an unconventional but wildly productive stack:
├── Framework: Expo SDK 54 (Managed Workflow + Custom Dev Client)
├── UI & Runtime: React Native 0.81 / React 19 + TypeScript
├── 2D Rendering: @shopify/react-native-skia
├── Gesture Engine: React Native Reanimated + Gesture Handler
├── State Store: Zustand (Single deterministic store + AsyncStorage)
└── Procedural Math: Simplex-Noise (2D elevation & moisture maps)
The Secret Weapon: Shopify Skia
Rendering a dynamic 4X tilemap with hundreds of terrain tiles, decorative forests, mountain decals, borders, trade route lines, and animated units inside standard React Native DOM views would be an absolute disaster for performance.
That is where Shopify Skia comes in. Skia is the same high-performance 2D graphics engine that powers Google Chrome, Android, and Flutter. By using @shopify/react-native-skia, the entire map renders on a native hardware-accelerated canvas directly on the GPU.
Pan and zoom gestures are handled via react-native-reanimated worklets on the UI thread, delivering a buttery-smooth 60 frames per second on both iPhone and iPad.
Deterministic State with Zustand
In a turn-based game, predictability is everything. The entire world state (every city, unit, tile, fog layer, and AI rival) lives inside a single Zustand store.
When you tap End Turn, a clean reducer executes:
- City production and growth resolve.
- Building queues advance.
- Auto-workers tile improvements.
- Auto-explorers advance along their pathfinding vectors.
- Trade route revenues calculate.
- Each AI opponent executes its turn logic.
- Victory checks evaluate against the scenario rules.
- The state commits, fog recomputes, and the game autosaves to
AsyncStorage.
Because all game logic in src/game/ is completely decoupled from React and UI components, writing unit tests with Vitest for combat calculations, pathfinding, and AI decisions was effortless.
What Building a Game Teaches You
In the web world, our craft is mostly about data flow: pull records from a database, pass them to a template or component, handle user authentication, and cache the response.
Game development stretches completely different muscles:
- Spatial indexing: Checking tile adjacency, Chebyshev distance, and border expansion math.
- Pathfinding: Implementing Breadth-First Search (BFS) algorithms that account for terrain penalties, movement costs, and friendly unit crowding.
- Procedural generation: Tuning 2D Simplex Noise seeds so maps feel like natural continents with realistic coastlines rather than random checkerboards.
- Deterministic AI: Writing enemy AI that balances empire expansion, city defense, and opportunistic tactical attacks without cheating.
Building Blocky Strategery reminded me of the pure creative thrill that got me into programming in the first place. There are no client briefs, no database migrations, and no third-party APIs to babysit. Just pure logic, clean math, and an interactive world that comes alive under your fingertips.
What is Next?
Blocky Strategery is currently running smoothly on TestFlight across iPhone and iPad. I am continuing to polish the AI difficulty tiers, add subtle sound effects, and fine-tune combat balance.
If you are curious about how everything fits together under the hood—from the Skia rendering engine to the Zustand game state reducers and Simplex Noise map generation—the full project is open source on GitHub: github.com/aaronreimann/blocky-strategery-game.
Stay tuned for updates as I get it prepped for the App Store!