1. You should write a C-program to create a fixed maze of size 25 × 40 and place the @ symbol at the entrance of the maze as shown in diagram below:: 2. You should define four keys on the keyboard for moving in the left/right/up and down directions so that you can move the @ character in order to find your way through the maze till the exit point, 3. The program should time how long it takes for a player to reach the exit point and should compare this value to the previous scores which may exist in a text file and inform the player how many people who have played before has done better than him/her. Last player’ score should also be appended to the existing scores of the earlier players that are already in the text file.
1. You should write a C-program to create a fixed maze of size 25 × 40 and place the @ symbol at
the entrance of the maze as shown in diagram below::
2. You should define four keys on the keyboard for moving in the left/right/up and down directions
so that you can move the @ character in order to find your way through the maze till the exit
point,
3. The program should time how long it takes for a player to reach the exit point and should compare
this value to the previous scores which may exist in a text file and inform the player how many
people who have played before has done better than him/her. Last player’ score should also be
appended to the existing scores of the earlier players that are already in the text file.
Step by step
Solved in 2 steps