TANGRAM
For those who don't know what is tangram: It's an ancient Chinese puzzle in which you try to form some geometric objects with a set of pieces.

I have written a Tangram program with OpenGL. It contains 4 puzzles and 1 external puzzle file. Check this page for new puzzles.
Download here (109K)

How to play?
To open menu:
Right mouse button opens a menu.
To move pieces:
Use left mouse button click to select the pieces. Hold the button until you choose an appropriate place to put the selected piece.
To rotate pieces:
First press CTRL and press left mouse button to select a piece. Then move mouse left anf right to rotate the selected piece.

Menu options
Puzzle
This option enables you to activate another puzzle to solve! It lists the available puzzles and 'from file' option enables you to load a puzzle from file. The file must be in the same directory with the program executable. When you select this option, at the command prompt, you have to input the filename. With this distribution you have 'dog.dat' Select this option and enter 'dog.dat' at command window. For example:
  File : dog.dat
Flip parallegram
This option flips the parallelogram pieces.

Echo On/Off
With 'Echo' option on, all user interactions are logged to the user. As you select a piece, move it and rotate it, all these actions can be seen from command window. You can this turn on and off using this option.


Color
This option enables you to change the color of various objects. When you select an object, command window will wait for your input. You have to specify if you red, green and blue values. You have to enter a number from 0 to 255.

Reset
This option places all pieces to their intial positions.

Help
This option prints the quick tutorial at the command window.

Quit
Exits the program

Notes
  • When you solve the puzzle, the program will award you!
  • The pieces can not be places on another one. You will place the pieces with a thin line between, otherwise, the solution would be lost. Below you can see a complete version of the square.





    Hasan Ayaz © 2002