Google used ten lines of code to make this awesome html5 puzzle.
developers.google.com