Hacker News new | ask | show | jobs
by bwigfield 3596 days ago
Did anyone else see this and want to cheat?

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).