A developer built a massively multiplayer snake game playable over SSH, detailing three core engineering challenges: terminal display using Unicode block elements to achieve two pixels per character, bandwidth optimization from ~35 KB/s down to ~2.5 KB/s through stateful cell-diffing rendering and 4-bit color tracking, and CPU

11m read timeFrom eieio.games
Post cover image
Table of contents
snakes.run: rendering 100M pixels a second over sshChallengesBasicsTwo pixels per characterThe bandwidth problemPerformanceWrapping up

Sort: