Re:Rumpetroll - a new Websockets/HTML5/CSS3/JS experiment
by adamdecaf on Wednesday September 29, 2010 @07:19PM
(#1741565)
Hmm, I assumed that I broke it because of two tries (with page reloads between) and it froze/broke after.
EDIT: Alright, it works. But, as before it won't show the text of my input (when it's an attempted SQL injection). Are you trying to hide it or not? (e.g. if someone types "Hello, World" (with quotes) they will want those to appear.)
Re:Rumpetroll - a new Websockets/HTML5/CSS3/JS experiment
by whackedspinach on Wednesday September 29, 2010 @08:54PM
(#1741823)
I'm not sure how 'useful' it would be, but what if you could overlay this on any web page you wanted, like that asteroids bookmarklet from yesterday. You could have the option to turn it on or off. Kind of an ability to see some real time comments overlay on articles or something. Or just a way to 'hang out' on the HN homepage. Each webpage would have it's own room. It would be like creating an instant chat overlay on the page.
I just feel like this would add a whole new dimension to the web. It's kind of like WoW back when I played. Each region/city has their own chat zone. I spend too much time just browsing random articles, it would be nice to start up some conversations that aren't as formal as comments (not logged, realtime, etc).
Re:Rumpetroll - a new Websockets/HTML5/CSS3/JS experiment
by die_sekte on Wednesday September 29, 2010 @09:52PM
(#1741955)
That would be rather easy. Make a bookmarklet that redirects you to a site, which then presents you the page with an overlay. Cross-site scripting policies prevent a naive implementation.
I think it already has been tried. I don't think it's all that useful, but if you really want, send me an email (see my profile for address), and I will build it for you.
Re:Rumpetroll - a new Websockets/HTML5/CSS3/JS experiment
by whackedspinach on Thursday September 30, 2010 @12:14AM
(#1742253)
Ha, I love the idea, but I have no idea how it would be implemented. If you want to make it, go ahead. I'm sure a lot of people would be interested. I'll come back once I understand how the internet works.
Re:Rumpetroll - a new Websockets/HTML5/CSS3/JS experiment
by hugoahlberg on Wednesday September 29, 2010 @09:14PM
(#1741856)
It crossed my mind, I have no idea if this engine could be used for it but I can ask the programmers tomorrow.
I would love the ability to turn ANY website into a multiplayer game — that would be awesome.
Re:Rumpetroll - a new Websockets/HTML5/CSS3/JS experiment
by danielmahal on Wednesday September 29, 2010 @07:41PM
(#1741611)
Yep the server dude went to bed. haha. but we'll try to do some more testing and see where we can optimize both in frontend and backend. And of course tell you what we find out…
Re:Rumpetroll - a new Websockets/HTML5/CSS3/JS experiment
by hugoahlberg on Thursday September 30, 2010 @10:21AM
(#1743324)
Thanks to everyone how liked/shared/voted for http://rumpetroll.com ! 10,000+ hits in less than a day & still growing strong! Team Rumpetroll ♥ you all!
Re:Rumpetroll - a new Websockets/HTML5/CSS3/JS experiment
by lovskogen on Thursday September 30, 2010 @04:30AM
(#1742649)
Makes me proud to be Norwegian. Haven't seen stuff like this from our country before, let's hope this opens a flood gate of creativity and cutting edge web development!
Re:Rumpetroll - a new Websockets/HTML5/CSS3/JS experiment
by bhiggins on Wednesday September 29, 2010 @08:15PM
(#1741721)
Very cool! I'd love to do something similar to this, something simple, like a remake of Atari Tank. Just drop in and start playing, instantly. Great demo.
I typed
Which made every person stop moving, and then on page reload nothing happens. (So the `users` table is dropped.)Sorry!! I didn't mean to break it, I wanted to test it.
..but if anyone knows why it sometimes freeze, please let us know. We were not excepting this kind of traffic.
EDIT: Alright, it works. But, as before it won't show the text of my input (when it's an attempted SQL injection). Are you trying to hide it or not? (e.g. if someone types "Hello, World" (with quotes) they will want those to appear.)
I just feel like this would add a whole new dimension to the web. It's kind of like WoW back when I played. Each region/city has their own chat zone. I spend too much time just browsing random articles, it would be nice to start up some conversations that aren't as formal as comments (not logged, realtime, etc).
I think it already has been tried. I don't think it's all that useful, but if you really want, send me an email (see my profile for address), and I will build it for you.
Site credits:
http://twitter.com/danielmahal - frontend
http://twitter.com/hpeikemo - server
http://twitter.com/hugoahlberg - design
Nice motion, and quite pretty, but I expect it to do something more. * shrug * must be because I've played Flow.
You can make your own fun though. I swam past a bunch of other tadpoles yelling "Don't go that way! MONSTERS!!!"
First thing I tried was: <script>alert("!");</script> which was just not chatted. Didn't try much else :)
Control maximum speed:
/js/Tadpole.js line 12: this.maxMomentum = 3;
Send a message: app.sendMessage(string)
Message length: /js/WebSocketService.js line 113
"Ooops. Did you do this? The mother-frog is unable to deliver you to the primordial pond. Please try later to play with other Rumpertrolls."
I wonder if I hit an integer overflow...
/hugo ahlberg
but the literal translation is "ass troll", yes, seriously. that's why it's extra fun! especially if you are swedish like me ;)