jespertheend / splix

MIT License
24 stars 6 forks source link

Determine recommended gameserver based on player location #55

Open jespertheend opened 1 year ago

jespertheend commented 1 year ago

We can use https://deno.land/x/maxminddb@v1.2.0 to determine the location of the player and then mark the closest server as recommended.

Tartasprint commented 3 days ago

Geography based on the IP may not be important. The server with the lowest average ping might be the best heuristic to determine the "closest" server.