Skip to main content
  1. Posts/

Getting Rickrolled by Rick in BrowserQuest

·299 words·2 mins
FireFox Programming Weekend Fun

rick in browserquest photoshoppedThis one is definitely filed away under Weekend Fun! Kudos to Mozilla foundation, though a bit sad that it doesn’t play on iPad (and some other browsers) yet.

The brilliance of the BrowserQuest is not just in it’s grand fun gameplay, but also that it is truly and completely open-source!

After my son played through 19 of the 20 possible achievements in about 19 minutes, we set out to find the elusive 20th achievement, which is unlisted. Well, as a responsible father (and because it is tons of fun), I set out to find the last one using the source code! The code itself is brilliantly simple. I am really looking forward to promised official post about the architecture, but meanwhile it is easy to see that the entire thing is running on NodeJS server, using BiSON, WebSockets and written in JavaScript and HTML5.

Although it took me only about a minute to track the last achievement down, and figure out that an NPC named Rick is who I need, finding him proved illusive. Even though I had coordinates of the dude from world map definition JSON, it’s really tricky to track him down as game use teleports when doors are opened, to shift you to new area, as I gathered.

So after about an hour of math and checking different door/portal/methods/logic, I just got annoyed and did a quick Google! And voila, of course someone already posted it on our beloved StackOverflow (for Gaming). There you have it – complete fun experience with hidden achievements FTW !!! Next? Just clone the GitHub repo and set of on your own adventure, of making a browser game!!!

Comments>

Comments #

Comment by manuel on 2012-04-01 13:16:36 -0500>

Comment by manuel on 2012-04-01 13:16:36 -0500 #

cheers, finally all quests solved!