Live data from Hacker News

Show HN: A Multiplayer Geography Game Using WebSockets

github.com

51–60 of 70 posts

Re: Show HN: A Multiplayer Geography Game Using WebSockets

#52

So an alert that just says "xss" just started popping up after a few cities. Did somebody discover something mid-game and start injecting that? http://i.imgur.com/SkXWnvV.png

It seems to be related to the user names. Just received a 'Howdy' alert box :)

Re: Show HN: A Multiplayer Geography Game Using WebSockets

#56
post #29

Earlier quoted context omitted.

Someone has probably already written some JS that plays the game automatically. The way I'd do it is 1) track the current turn, 2) look up the city's coordinates using a reverse geocoder like OSM's Nominatim[1], and 3) draw a marker at the location using Leaflet. [1]: http://wiki.openstreetmap.org/wiki/Nominatim

https://gist.github.com/benwaffle/c61d0fb29ced1f7bacdfdd4dc2...

Nicely done! I'm not that good at JS to be honest :P

Re: Show HN: A Multiplayer Geography Game Using WebSockets

#59
post #14

Earlier quoted context omitted.

It took me a while to realize, but "you are #x of Y players" refers to the closest people to that specific city. I was pretty pleased to get a few #1s. It countered my several "too far!"s.

I couldn't even get #1 in my current city or a few others I've lived in! You hacker news users are so precise. :)

Easy to be precise if they are cheating :)

https://news.ycombinator.com/item?id=12321468

Post reply on HN