Skip to content

Labyrinth Game in the browser

December 21, 2009

A few months ago, I mentioned the game Labyrinth and how I wanted this to work in the browser. Syd Lawrence took up the cause and put together a cool implementation.

Play it here. You must be running Firefox 3.6 RC or better.

This uses the new orientation events added to Firefox 3.6.

Syd also put together a demo of what orientation looks like for those that do not have Firefox 3.6:

This web feature is going to be standardized in the W3C in one of two working groups.  The general idea is to separate out acceleration (values in g) and orientation (values in degrees for azimuth, roll, pitch).  More on that next year when we figure out where the work will be done!

From → Uncategorized

5 Comments
  1. Happy GoLucky permalink

    Ummm, any particular reason you posted this to the Maemo forum? One would think you were implying that this would work with the N900, which is not the case. Thanks for the thought, though.

    • no idea what you are talking about. maybe the maemo forum syndicates my content?

      • Happy GoLucky permalink

        Wow. Someone on the http://maemo.org/news/planet-maemo/ forum posted this. The Nokia N900 has an accelerometer, but does not have a compatible browser. I see now that the poster was “unknown author”, and the link goes straight to your website. Sorry to bother you. Very cool article.

    • Michael V permalink

      Actually, this does work with the N900 since Fennec is built off the same core base. We do support reading the N900′s accelerometer so if you install a recent Fennec build you can play this. Perhaps this could be mentioned in the blog post? :-)

  2. Hi Doug, thanks for the post! If any one is interested the code is also on github (link on the labyrinth website.

Leave a Reply

Fill in your details below or click an icon to log in:

Gravatar
WordPress.com Logo

Please log in to WordPress.com to post a comment to your blog.

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.