************** TURN 1 ****************
| | | | | |
a | b | c j | k | l r | s | t
__ |___| __ __ |___| __ __ |___| __
| | | | | |
d | e | f m | W | n u | v | w
__ |___| __ __ |___| __ __ |___| __
| | | | | |
g | h | i o | p | q x | y | z
| | | | | |
Where would you want to place your
marker? a
You chose to place your marker on
block a.
****************************************
How can you put a mark X on the block where the player have chosen?
So the next screen output will be..
************** TURN 2 ****************
| | | | | |
X | b | c j | k | l r | s | t
__ |___| __ __ |___| __ __ |___| __
| | | | | |
d | O | f m | W | n u | v | w
__ |___| __ __ |___| __ __ |___| __
| | | | | |
g | h | i o | p | q x | y | z
| | | | | |
****************************************
Can somebody please help me :/ (Correct my mistakes, if there is. Add some codes on it)
So far this is what I've done :|
printf("**************** TURN 1 ******************\n\n");
printf(" | | | | | | \n");
printf(" a | b | c j | k | l r | s | t \n");
printf(" ___| ___ |___ ___| ___ |___ ___| ___ |___ \n");
printf(" | | | | | | \n");
printf(" d | e | f m | W | n u | v | w \n");
printf(" ___| ___ |___ ___| ___ |___ ___| ___ |___ \n");
printf(" | | | | | | \n");
printf(" g | h | i o | p | q x | y | z \n");
printf(" | | | | | | \n\n");
printf("Where would you want to place your \nmarker? ", cMarker1);
scanf("%c", &cMarker1);
printf("You chose to place your marker on \nblock %c\n", cMarker1);
printf("********************************************\n");