Game development case study

Iron Meridian: a 3D real-time strategy game in the browser, built in .NET

An original combined-arms strategy game, with six nations fighting across land, air and sea, that runs in a web browser with nothing to install. All game logic, AI and 3D models are C#: proof that the same stack that runs our clients' business software can carry a real-time 3D multiplayer game.

The live game opens in a new tab, with sound.

Iron Meridian title screen: Modern combined-arms strategy, Developed by Assemblysoft Live build · Azure
nations, each with its own forces
6
battlefields, including a naval map
10
commanders online, AI fills any seat
4
recorded voice lines in six accents
2,000+

At a glance

Sector
Games: an in-house, fully original product
What we delivered
The whole game: simulation, AI, 3D models, renderer, sound, multiplayer relay, tests and delivery pipeline
Platforms
Web browser, with touch controls and a phone layout
Technology
.NET 11, C#, Blazor WebAssembly, WebGL2, Web Audio, Azure, GitHub Actions
Capabilities

The idea

Why build a full game in .NET?

Games are some of the most demanding software there is. Real-time graphics, hundreds of units making decisions at once, players on different machines who must see exactly the same battle, and sound, input and interface all competing for the same few milliseconds of every frame.

We built Iron Meridian to show that the stack and the people behind our business software can carry that load. It is our own product, designed and built in-house, and the credit Developed by Assemblysoft appears on its splash, menu and loading screens.

The same strengths a game demands are the ones that matter in serious business software: predictable logic, efficient data handling, reliable networking and a delivery pipeline that does not let mistakes through.

Real-time 3D in the browser

A hand-written WebGL2 renderer draws terrain, water, weather, forests and armies, with no plug-in and no install.

Multiplayer that stays in step

Up to four commanders in lockstep through a small relay, with invite links, friend codes, presence and chat.

An AI that runs a whole war

It builds, expands, researches, attacks in waves, flies sorties, goes to sea and uses powers and superweapons.

What we built

Inside the game

A complete strategy game: six nations, ten battlefields, an opponent that thinks, training for new players and online play with friends.

Iron Meridian battle: a United States headquarters defended by tanks, helicopters and a fighter, with the game HUD showing powers, AI adjutant and game speed
01 · Forces

Combined arms across land, air and sea

Six nations: the United States, Russia, Germany, the United Kingdom, China and France. Each has its own soldiers, ground vehicles, aircraft and warships, modelled on the real equipment they are named after, plus its own gun emplacement, air defence, doctrine, economy building, satellite pass, unique unit, commander power and superweapon.

  • Infantry
  • Vehicles
  • Helicopters
  • Fixed-wing aircraft
  • Destroyers
  • Submarines
  • Landing craft
  • Drones
  • Spies and hackers
Iron Meridian battle in falling snow, with armour and helicopters fighting around a command centre
02 · Battlefields

Ten battlefields with real weather

Ten maps with chosen start positions, including a naval map, and weather that changes the mood of a fight: rain with thunder, snow and dust storms.

Height-mapped terrain with cliffs, water and forests; sun lighting with shadow mapping; water with depth, swell, reflection and foam; trees that sway and wildlife that reacts. Players pan, zoom, rotate and tilt freely.

Iron Meridian skirmish setup: six nations with their doctrine, strengths and weaknesses, ten battlefields and AI opponents
03 · AI

An opponent that fights a whole war

The skirmish AI plays at four difficulties. It builds a base, expands, researches, attacks in waves, flies sorties, goes to sea and uses powers and superweapons.

An AI adjutant works for the human player too: hand it logistics, base building or the whole war.

Iron Meridian multiplayer lobby with a game code, two commanders, the chosen battlefield and a friend code
04 · Multiplayer and replays

Play with friends, then watch it back

Multiplayer for up to four commanders, with AI filling any empty seat. Invite links, friend codes, presence and chat bring people together without an account.

Every battle records its seed and its orders, so it can be replayed with pause, speeds from 1 to 8x and a seek slider.

Iron Meridian Field Manual for the United States: doctrine, strengths, weaknesses, powers and unit cards with statistics
05 · Learning

Learn by playing, look it up when you need to

Five training missions with spoken briefings and an illustrated How to Play bring new players in gently.

The Field Manual is generated from the game's own data, so it cannot go out of date. Change a unit, and its page changes with it.

Iron Meridian main menu over a live AI battle between France and the United Kingdom
06 · Craft

Models built in code, voices recorded for every unit

Every 3D model is built procedurally in C#: no model files and no textures. The unit pictures in the menus are drawn from the same 3D models, so they always match what is on the battlefield.

Over 2,000 recorded voice lines give every unit a voice in six national accents, alongside a rotating calm and battle soundtrack and synthesised effects. Touch controls, a phone layout and reduced-motion support are built in.

How it's engineered

Three layers, one stream of commands

A C# simulation with no browser dependency. A host that turns input into commands and writes per-frame buffers. A browser runtime that draws those buffers and holds no game rules.

Iron Meridian architecture In the player's browser, a C# simulation running on .NET 11 and Blazor WebAssembly exchanges commands and state with a host and command layer. The host writes flat per-frame buffers, which a WebGL2 renderer and Web Audio read. The host sends commands to a multiplayer relay on Azure App Service, which orders them and rebroadcasts them to the other players' browsers. Azure Static Web Apps in West Europe serves the client. PLAYER'S BROWSER .NET 11 · BLAZOR WEBASSEMBLY C# simulation Fixed step, 30 a second No browser dependency Host and command layer Turns input into commands Writes per-frame buffers Flat per-frame buffers RUNTIME · NO GAME RULES WebGL2 renderer Hand-written, draws the buffers Web Audio Voices, soundtrack, effects COMMANDS Multiplayer relay AZURE APP SERVICE · LINUX Orders and rebroadcasts commands One turn every 100 ms Checksums detect desync Never simulates the game Other players' browsers Up to four commanders Azure Static Web Apps West Europe, serves the client Iron Meridian architecture Azure Static Web Apps serves the client to the player's browser. Inside the browser, a C# simulation exchanges commands and state with a host and command layer, which writes flat per-frame buffers read by a WebGL2 renderer and Web Audio. Commands travel to a multiplayer relay on Azure App Service, which orders them and rebroadcasts them to the other players' browsers. Azure Static Web Apps West Europe, serves the client PLAYER'S BROWSER .NET 11 · BLAZOR WASM C# simulation Deterministic, 30 steps a second Host and command layer Input to commands, writes buffers Flat per-frame buffers WebGL2 renderer Hand-written Web Audio Voices, music, effects RUNTIME · NO GAME RULES COMMANDS Multiplayer relay AZURE APP SERVICE Orders and rebroadcasts commands One turn every 100 ms Checksums detect desync Other players' browsers
The browser side draws and plays sound; it never decides anything. All game rules live in the C# simulation, and the relay only orders and forwards commands.

Determinism

The same seed and the same commands give the same battle

The simulation runs at a fixed 30 steps a second, with rendering interpolated between steps. That one decision powers multiplayer, replays and automated testing.

Why it mattersLogic that always gives the same answer can be tested, replayed and trusted.

Commands

One function applies every action

Every action is a command applied by one function, giving a single stream for the network, replays and test scripts. The AI plays through the same orders as a player.

Why it mattersOne path for every change means one place to check, log and test.

Interop

A buffer per frame, not a call per object

Each frame hands the renderer flat numeric buffers rather than per-object calls or JSON. A buffer per frame costs the same for 10 units or 500.

Why it mattersThe cost of crossing a boundary stays flat as the workload grows.

Networking

A relay that never plays the game

A small relay orders and rebroadcasts player commands, one turn every 100 ms, and compares state checksums to detect desync. A client that falls behind replays the turns it missed and shows CATCHING UP.

Why it mattersThe server stays small because the clients share the work.

Resilience

Two transports carrying identical messages

WebSocket, or server-sent events with POSTs: the game tries one, falls back to the other automatically and remembers what worked. The streaming transport exists because the free App Service tier caps WebSockets at five.

Why it mattersDesigned around the real limits of the hosting plan, not an ideal one.

Data

No accounts and no database

Identity is a key held in the browser. Menus and HUD are Razor and CSS over the WebGL canvas, so they stay accessible to browser tooling and easy to restyle.

Why it mattersThe simplest personal data to protect is the data you never collect.

Cloud

Hosting sized to the workload

Both parts run on Azure's free plans: the whole game, with multiplayer, has no hosting cost.

No hosting cost

Client: Azure Static Web Apps, West Europe

Fingerprinted framework files are cached as immutable, index.html is never cached, and security headers are set at the host.

Relay: Azure App Service (Linux)

Runs in the same resource group, ordering commands between players' browsers.

Quality and delivery

Every push is played by machines before it reaches a player

A headless validation suite links the game's own source and runs without a browser. GitHub Actions runs it on every push and pull request.

  • Content checks
  • Command checks
  • Two-machine determinism check
  • Training missions played to victory by a scripted pilot
  • AI-against-AI battles on all ten maps
  1. Step 1

    Push

    Every push and pull request starts a run. A newer run cancels an older one.

  2. Step 2

    Validate

    The headless suite runs. If any check fails, nothing deploys.

  3. Step 3

    Build

    The multiplayer relay is built.

  4. Step 4

    Publish

    The Blazor WebAssembly client is published.

  5. Step 5

    Live on Azure

    On the main branch, the client is uploaded to Azure.

The pipeline will not deploy if any check fails.

Iron Meridian system design notes

The AI finds balance problems faster than a person.

Iron Meridian system design notes

The headless suite paid for itself many times.

Iron Meridian system design notes

About two minutes from push to live, with every check passed on the way.

What this means for your project

The same engineering, pointed at your problem

  1. Deterministic logic is testable logic

    The discipline that makes a battle replayable applies to pricing rules, schedules and workflows: the same inputs give the same result, so it can be checked automatically.

  2. A pipeline that refuses to ship failures

    Every change runs the full suite before it can deploy. Nothing reaches users until the checks pass.

  3. Cloud hosting sized to the workload

    Static hosting for the client and a small relay for live traffic. Here, the whole game with multiplayer runs at no hosting cost.

  4. One team across game, web, cloud and delivery

    The engine, the interface, the Azure hosting and the pipeline came from one team. One accountable partner, with specialist engineering on demand.

Have something demanding to build?

Tell us what it needs to do. We will tell you plainly how we would build it, test it and run it.

Start a meaningful conversation with us today.

Assemblysoft assistant

Hi there! I'm the Assemblysoft assistant. Give me a couple of minutes and I'll help shape your brief, so our first conversation starts with answers rather than questions.

Start a conversation

Let's shape your project brief together

Whether you're modernising a system that's showing its age, building something brand new, looking for a safe pair of hands to support what you already have, or simply want to say hello, a few quick questions will help us arrive prepared.

  • About two minutes
  • No obligation
  • A real person replies within one working day

FAQs

Assemblysoft are Your Safe Pair of Hands

Microsoft Azure

Azure

Azure DevOps

Azure DevOps

Blazor

Blazor