Someone found XSS bug http://i.imgur.com/gni56Rf.png
Show HN: A Multiplayer Geography Game Using WebSockets
51–60 of 70 posts
Re: Show HN: A Multiplayer Geography Game Using WebSockets
#52So 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
Re: Show HN: A Multiplayer Geography Game Using WebSockets
#53Re: Show HN: A Multiplayer Geography Game Using WebSockets
#54So 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
Re: Show HN: A Multiplayer Geography Game Using WebSockets
#55Re: Show HN: A Multiplayer Geography Game Using WebSockets
#56Earlier 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...
Re: Show HN: A Multiplayer Geography Game Using WebSockets
#57Re: Show HN: A Multiplayer Geography Game Using WebSockets
#58Re: Show HN: A Multiplayer Geography Game Using WebSockets
#59Earlier 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. :)
Re: Show HN: A Multiplayer Geography Game Using WebSockets
#60You now belong to the club: http://worldmapswithout.nz