Quote:
Originally Posted by shabbir
Hey I dont know how to play the game
I don't quite understand Shabbir - is it that u don't know to play the GAME or play the 'C' program. With the assumption that it is the latter, I proceed.
I apologize for not incorporating a "How to Play" option within/outside the program or along with the documentation (which I know is pretty amateurish).
So, I will try to elaborate on how to use the program :
How to get the Puzzle Solved by the Computer (Choice 1 of Main Menu)
1. Just select a suitable newspaper (preferrably Mumbai Mirror or some paper that gives a
minimum of 26-30 entries - anythin less & u will SURELY NOT get a proper solution)
2. Count the no. of entries that is GIVEN/made available in the paper's puzzle
(I am sorry the counting too has to be done manually - didn't give it much thought in the
beginning - now i realize, that its probably a little cumbersome - will make changes to
that)
This number must be entered in the
"Enter the number of nos to be entered : " prompt
3. Now, just enter the entries in the following format :
RowNo <Space> ColNo <space> Entry_to_be_placed
4. If u dislike the above format of I/P, go to the
"Change Settings" choice & change the I/P
settings, after which the I/P format becomes :
For Row 1:
ColNo <space> Entry_to_be_placed
.
.
.
0 <space> 0
For Row 2:
ColNo <space> Entry_to_be_placed
.
.
.
0 <space> 0
& So on....
Please Note, that the '0's indicate the termination of I/P for the present row. Also, note
that both 0's should be fed.
5. Sit back & let the program do ur work(hopefully)
Check if the solution presented on screen matches the solution in the paper (hopefully,
it will)
6. Also, the O/P mode by default shows all the Recursive calls. For those of us, who want
to view the final solution without knowing how the hell its been done, u can go to the
"Change Settings" option & change the O/P settings
How to Store the Puzzle & Solution to the Puzzle using the Prog (Choice 2 of Main Menu)
Steps 1 thru 3 remain same as above
NOTE: I hav NOT incorporated the 2nd I/P mode in this section (my memory - it fails me
sometimes). So, I hope that u can fill in that gap.
4. Now, feed in the Solution of the puzzle as I/P Row-wise
i.e.
Row 1:
C1 E1
C2 E2
C3 E3
.
.
C9 E9
Row 2:
C1 E1
C2 E2
C3 E3
.
.
C9 E9
.
.
.
.
Row 9:
C1 E1
C2 E2
C3 E3
.
.
C9 E9
Also, once u hav changed the settings, it doesn't go back to default settings automatically.
U must set it back to default settings by going to
"Change Settings" choice & choosing the
"Restore All Defaults" option
Hope that is sufficient guidelines to at least start getting acquainted with the I/P-O/P of the
prog.
Ciao,
Rajiv
PS : A very eventful B-day to you.