← Alexei Yagolnikov

Projects

Small things I build for fun, mostly after hours.

The Flock

Started 2020 · updated Nov 2026Mapbox · Socket.IO · JavaScript · Node.js · Docker

A multiplayer flight game played on a real map. Pick a fighter, fly through enemy craft over a 3D city (Portland by default), switch between lasers and torpedoes, and watch other pilots move in real time.

  • Browser client on Mapbox: movement runs on elapsed time so craft handle the same at any frame rate, with a radar, health bars, recharge drops, sound effects and a performance HUD.
  • Separate Socket.IO server (the-flock-network) that owns the world: enemies are simulated only near living players, craft sit in a spatial grid of about 280 m cells for hit tests, and updates go out as changes-only payloads.
  • Both halves ship with Dockerfiles, set up to run as two services on Railway.

Try it!Client sourceServer source

Fighter craft art by kavinveldar (DeviantArt).

The Flock: fighters and enemy craft over a 3D map of downtown Portland, with health arcs, explosions and a performance HUD
Dogfight over downtown Portland
Craft selection dialog listing five fighters with speed, agility and shield bars
Craft selection
Architecture diagram: browser game layer, craft picker and sound/HUD on one side, Socket.IO world store, simulation and update encoder on the other
Client and server architecture

ESP32 and Arduino builds

C · C++ · ESP32

Small microcontroller projects, mostly in C and C++.

  • ESP32-CAM viewfinders: the camera feed rendered straight onto a small screen at a high frame rate, in two versions (a round display and an SSD1351 OLED).
  • Macro pad v2: a restart of my macro-pad project (work in progress).
  • A collection of most of the Arduino projects I’ve built.

Round-screen viewfinderSSD1351 viewfinderMacro pad v2Arduino projects

Small web experiments

JavaScript · HTML · CSS

Older, self-contained front-end toys.

  • Time Splice: a visual way to see time slots over a given range of time.
  • Minesweeper written in JavaScript using prototypes.

Time SpliceMinesweeper