Labyrinth Game in the browser

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!

This entry was posted in mozilla and tagged , , , . Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

5 Comments

  1. Happy GoLucky
    Posted December 21, 2009 at 9:01 pm | 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.

    • Posted December 21, 2009 at 9:10 pm | Permalink

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

      • Happy GoLucky
        Posted December 21, 2009 at 9:46 pm | 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
      Posted December 21, 2009 at 9:41 pm | 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. Posted December 22, 2009 at 2:09 am | Permalink

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

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>