Networking
We used terraform to deploy multiple servers on AWS. There is a dapp coordinating the servers and their assigned in-game regions. When a player would travel to a specific region, it would use the coordinator to find the correct server to connect to, this system allows horizontal scaling to accomodate as many players as possible.
The networking servers acted as relay servers, relaying networking messages between players, allowing players to see and interact with each other. Due to the game also running in the web browser, we used webRTC to mimic UDP for unreliable messages like movement.