littletoymaker

Sunday, July 31, 2005

Tile puzzle

Tile Game in Kanji

In middle school, I was fed LOGO in 1990, then I picked up x86 assembler in 1991. Then I went on to C, where I lay comatose until 2002. I woke up with a Rip Van Winkle yawn, and saw curious creatures such as Javascript, Haskell and Python. "Vas arr thees kreachures?" So I picked up Javascript which ran in my browser, and put together a tile game.

Here is the tile game running on my old website:


Tile puzzle (press shuffle to change tileset)

It's a sliding tile puzzle that I wrote it in Javascript, the goal of which is to arrange the numbers from 1 to 15. The numbers are written in Chinese/Japanese. Part of the reason I wrote the game was that I developed an urge to learn Japanese :D


Tile puzzle (press shuffle to change tileset)

When you've finished solving the puzzle, the tile set changes! The tile set also changes when you give up and decide to shuffle the tiles. Tiles are shuffled in such a way that there is always a solution to the puzzle.


Tile puzzle (press shuffle to change tileset)

Tips

Counting in Chinese/Japanese (you'll need a Chinese/Japanese font to view this part):
  1. 十一
  2. 十二
  3. 十三
  4. 十四
  5. 十五
Limitations:

Tested some time ago on Firefox 0.8, Internet Explorer 5.5 and Netscape 4.7.
The advertisements on the site sometimes mess up the Javascript. It runs better if you download it (visit the web page and click on Info, then Download). Clicking refresh could also help.

Happy playing!
###