Game program in C
I am trying to write a program that produces a random generated array of pairs of letters. These letters are R(red).B,(blue),s(square) and c(circle). Each shape is paired with a color and a table is generated on the computer screen. It is sort of like this game:

 http://www.clickmazes.com/chain/ixchain.htm

 The objective of this program is to produce a game that presents a board to the user and asks them to move from one position to the other while trying to get to each possible position on the board. The board is made randomly so there is a need to find out if there is a way to actually get to all the positions on the board without violating any rules. This is where the issue comes in. I have been able to generate a random board and would like to know if there is a way to check for all possible solutions for each randomly generated board. Such as:
 Soln: ,00,20,22,21,01,02,12,10,11
 Total solutions: 1
 Total falsePaths: 28
 Any form of guidance will be much appreciated.
 P.S sorry for the vague description of the game. The game is simple, however the task of making it into a C-program is quite devious.
Game program in C
===

I am trying to write a program that produces a random generated array of pairs of letters. These letters are R(red).B,(blue),s(square) and c(circle). Each shape is paired with a color and a table is generated on the computer screen. It is sort of like this game:

 http://www.clickmazes.com/chain/ixchain.htm

 The objective of this program is to produce a game that presents a board to the user and asks them to move from one position to the other while trying to get to each possible position on the board. The board is made randomly so there is a need to find out if there is a way to actually get to all the positions on the board without violating any rules. This is where the issue comes in. I have been able to generate a random board and would like to know if there is a way to check for all possible solutions for each randomly generated board. Such as:
 Soln: ,00,20,22,21,01,02,12,10,11
 Total solutions: 1
 Total falsePaths: 28
 Any form of guidance will be much appreciated.
 P.S sorry for the vague description of the game. The game is simple, however the task of making it into a C-program is quite devious.