http://imgur.com/a/l4n85
Method:
- 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).
http://imgur.com/a/l4n85
Method:
- 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).