Here is a simple game developed in C graphics which is
called 'The Shuffle Game'. We believe u have already played
many of such games where in you need to arrange scrambled
pieces of a picture, alphabets or numbers. In the present
program you have been given a matrix of 16 squares of which
15 are assigned with 15 different numbers and 1 is left out
blank (empty space for movement of the remaining boxes)
which are all shuffled. All you have to do is arrange these
numbers in order as shown in the picture given below. The
number of moves and the number that have been arranged by
you in the proper position will be continuously displayed on
the screen. The controls are as given below.
Controls:
You can move the boxes by using the arrow keys
on your keyboard or by simply clicking on the box which you
want to move into the empty space. While using the arrow
keys, if you want to move the box left to the empty space
just hit the left arrow button. Similarly you can move the
boxes on the top, bottom or right of the empty box by
hitting the up, down or right arrows respectively. In case
you want to restart the game all over again just click the
'RESTART' button or if you want to quit the game, all you
have to do is to click the 'EXIT' button on the screen.
|
1 |
2 |
3 |
4 |
|
5 |
6 |
7 |
8 |
|
9 |
10 |
11 |
12 |
|
13 |
14 |
15 |
|