Tile game sample

The tile game is a simple example of programming custom logic for a scene and interacting with the user.
Click on the tiles next to the empty space to move them. Shuffle the tiles and then try to arrange them back to their original locations. Click and drag to rotate the game.

Source code
Original page