I enjoy playing this game. But the map is cropped and New Zealand does not appear, so it was impossible for me to pin Wellington.
Show HN: A Multiplayer Geography Game Using WebSockets
31–40 of 70 posts
Re: Show HN: A Multiplayer Geography Game Using WebSockets
#32The fact that the crowd playing did not bring it down load-wise is just as impressive.
Back-end deployment story?
Re: Show HN: A Multiplayer Geography Game Using WebSockets
#33I enjoy playing this game. But the map is cropped and New Zealand does not appear, so it was impossible for me to pin Wellington.
Awesome game.
Re: Show HN: A Multiplayer Geography Game Using WebSockets
#34Nice work!
Re: Show HN: A Multiplayer Geography Game Using WebSockets
#35Re: Show HN: A Multiplayer Geography Game Using WebSockets
#36Re: Show HN: A Multiplayer Geography Game Using WebSockets
#37Re: Show HN: A Multiplayer Geography Game Using WebSockets
#38Method:
- grab cites.db from repo and dump cities to file with sqlite
- use perl to convert data to json
- use dev console to import cities object
- one quick js function to get called when websockets gives us a 'new_turn' message that sends a 'answer' message with data from our lookup table
I know I cheated, but for me this was super fun. (I never make it to the top of a score board in videos games without some sort of hackery involved).
Re: Show HN: A Multiplayer Geography Game Using WebSockets
#39Re: Show HN: A Multiplayer Geography Game Using WebSockets
#40The worldmap seems to not include new zealand, because it takes the browser's zoom level (which i have set to high), and scales it badly to clip out the sides.