Very nice writeup. For the GeoIP part, there are actually libraries that will load up the entire Maxmind database into memory. Though it bloats your node app's memory usage as you would expect, it's extremely fast and almost always worth it. We use this library:
If you read the page source, you can see how easy it is to write your own chat bot for this app. Just paste the code back in to your JS console (which may not like newlines, FYI).
I love these kind of limited interaction situations, and what behaviour you see coming out of it. I moved around for a minute in a slow deliberate path, and others started following me; then I stopped completely still, and others lined their flags up next to mine in a square. Amusing, and all with no communication.
25 comments
[ 4.3 ms ] story [ 228 ms ] threadhttps://github.com/kuno/GeoIP
I won't tell you which chat bot was mine :)
rawSend(JSON.stringify({ _event: "chat", country: "US", name: "Any Guy", message: "expletive deleted" }));
rawSend(JSON.stringify({ _event: "motion", c: "xx", id: "xxxx", x: 0, y: 0}));