Re:Show HN: Browser grand strategy game for hundreds of play...
by reitzensteinm on Thursday March 19, 2026 @12:54AM
(#47435113)
How did you test with 1024 players - were they real? Often synthetic loads are very different to those caused by real players.
Re:Show HN: Browser grand strategy game for hundreds of play...
by sgolem on Friday March 20, 2026 @06:52AM
(#47452879)
Bots are run on a separate thread from the main game loop and I can configure them to have a particular amount of actions per tick or second - to simulate real player action frequency.
In my tests core game loop handles 1024 bots without issues, often running 5-20x of realtime.
Most interactions are event-driven and the map state updates incrementally, which keeps things manageable even when many borders are shifting at once.
I've successfully tested this with 4096^2 maps and 1024 players and in those tests framerates were stable at 144 FPS, with the server ticking steadily at the standard 10 TPS.
It is built on Rust and Bevy. I'm happy to answer any questions.