FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
Multiplayer without netcode - a TypeScript game engine where the server draws
How-ToWeb Development

Multiplayer without netcode - a TypeScript game engine where the server draws

via Dev.toThp1d ago

Terminal Bomber TL;DR Primitiv Engine is a multiplayer-first TypeScript game engine (pre-alpha). The server sends draw commands, the client just displays (think server-side rendering, but for games). No prediction, no reconciliation, no desync. Write one class, run it standalone in the browser or on a Node.js server with connected clients: same code, zero changes. Website - Try the live examples What it looks like The display is a grid of cells (up to 256×256). Each cell holds three things: a character (CP437 by default: ║═╗ , ░▒▓█ , ♥♦♣♠ , or a custom sprite if you load your own atlas) a foreground color a background color To draw on that grid, you issue draw commands : const orders = [ OrderBuilder . text ( 8 , 0 , `Score: ${ data . score } ` , TEXT_COLOR , BG_COLOR ), OrderBuilder . char ( data . food . x , data . food . y , ' ♦ ' , FOOD_COLOR , BG_COLOR ), OrderBuilder . polyline ( data . snake , ' █ ' , SNAKE_COLOR ), OrderBuilder . char ( data . snake [ 0 ]. x , data . snake [ 0

Continue reading on Dev.to

Opens in a new tab

Read Full Article
3 views

Related Articles

How to Prevent Merge Conflicts When Multiple Teams Work in the Same Codebase
How-To

How to Prevent Merge Conflicts When Multiple Teams Work in the Same Codebase

Medium Programming • 19h ago

How One Hour of Planning Makes the Whole Week Feel Easier
How-To

How One Hour of Planning Makes the Whole Week Feel Easier

Medium Programming • 1d ago

Multi‑File Magic: 8 Claude Code Commands for Safe, Large‑Scale Codebase Changes
How-To

Multi‑File Magic: 8 Claude Code Commands for Safe, Large‑Scale Codebase Changes

Medium Programming • 1d ago

What Learning to Code Actually Feels Like (No One Talks About This)
How-To

What Learning to Code Actually Feels Like (No One Talks About This)

Medium Programming • 1d ago

How to Run Ethernet Cables to Your Router and Keep Them Tidy
How-To

How to Run Ethernet Cables to Your Router and Keep Them Tidy

Wired • 1d ago

Discover More Articles