News for hackers. Stuff that matters.
Re:Show HN: A Multiplayer Geography Game Using WebSockets by bwigfield on Friday August 19, 2016 @12:57PM (#12321468)
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).

There are no comments on this comment yet.