I built a web-based multiplayer RTS engine from scratch

Опубликовано: 15 Май 2026
на канале: Ivan Berdichevsky
36
1

I built a web-based multiplayer RTS engine from scratch using React, React Three Fiber, Node.js and Socket.IO

The game is called: Dawn of Machines.

This demo shows the current implementation of the fog-of-war system and UI.

Main resource is electricity. Then, you have Iron, Carbon, Steel and Graphene.
Steel is made by combining Iron and Carbon.
Graphene is made by refining Carbon itself.
Each game has its own clock, and the Logs (lower left of the UI) are timestamped with it.

There are five main actions: Gather, Build, Scan, Hack and Attack
Gather gathers resources.
Build builds structures/buildings.
Scan scans other units for their hackId
Hack hacks other units using their hackId, and after a successful attempt, those units become acquired.
Attack decreases other units integrity.

There are five main units/nodes:
Gather Node, Builder Node, Scanner Node, Hacker Node and Combat Node. They each have a symbol and color that represents them and their action.

This game is a work in progress. I'd appreciate any feedback or support.