Tuesday, February 01, 2011

A bried foray into HTML5

Having heard some good things recently about HTML5 and it's current level of support amongst the various browsers, I decided to dig in and check things out.

On a recommendation, my first stop was to check out Dive Into HTML5 [1] and HTML5 Rocks [2]. Both of these sites proved to be excellent ways to get acclimated to the new features of HTML5. Dive Into HTML5 is more of a introduction guide while HTML5 Rocks is more of a interactive playground. Both were very helpful in getting a good idea as to what HTML5 can do.

After checking out those sites and getting some ideas, I just wanted to get my hands dirty and start playing with some of the cool new features. So I decide to make a Snake [3] clone with HTML5 & Javascript.

Here is a link to the game: www.mikusa.com/snake/snake.html

In addition, I've released the source code under the GPLV2 license. Here is the link for the source code: snake.tar.gz

While this simple game doesn't get into all of the new features of HTML5 (just uses Canvas & Local Storage), it did give me a good introduction and get me excited to try out more of the new features.

References

[1] - http://diveintohtml5.org/
[2] - http://www.html5rocks.com/
[3] - https://secure.wikimedia.org/wikipedia/en/wiki/Snake_%28video_game%29

No comments: