This is something I’ve done with my web game, I run the entire simulation client side so as to never worry about scaling issues.
Why reach for a server unless you truly need one! My multiplayer mode is p2p planned