Thursday, March 27, 2014
Tile Puzzle
I just put together a quick HTML5/Canvas example page at sbrew.com/puzzle. Its purpose is to demonstrate the Canvas and some basic javascript usage including prototypical inheritance. There are probably a lot of these out there but I tried to keep this one relatively simple and clean. I'll probably keep tweaking it over the next little while.
Subscribe to:
Post Comments (Atom)
1 comment:
Update! I modified this recently with some new features and cleaned up the Javascript quite a bit.
* There's no more references to "this"
* You can choose between 4-25 tiles
* It shows an example of OO without classes or prototypes (Crockford style).
See also Stop Writing Bugs.
Post a Comment