Browser strategy game backend: no tick loop

typescript dev.to

Old Light is a browser strategy game: a whole galaxy you play in a tab, with star systems to claim, an economy to grow, fleets to build, and other players (plus the AI empires that live alongside them) to fight for territory. This post is about what you don't see while playing: the backend that keeps it all running. Three things make that backend tricky, and almost every decision below comes from one of them. It's real-time. There are no turns. Your economy keeps growing and your fleets keep

Read Full Tutorial open_in_new
arrow_back Back to Tutorials