I am only a college student at a nearby university and i dont claim myself an expert but i am really having difficulty in trying to make a game called Tic Tac Toe in Turbo C.
our professor put some requirements for the game. First, the user may enter an equivalent number meaning this number is the size of the board. i used for statements to get around. our professor said that we will have to use arrays. my biggest problem is how to plot my x's and o's.
it is like this:
Enter a number: 4
1 2 3 4
5 6 7 8
9 10 11 12
13 14 15 16
Enter move: 4
only the four below becomes an X or an O
1 2 3 X
5 6 7 8
9 10 11 12
13 14 15 16
and still i havent got to the part where i must not overwrite my moves if i entered four on my last turn, i must not be able to occupy that slot again.
I am open for comments and suggestions. Thank you.