Help with tic tac toe program
Hey everyone... again I need a lot of help. :( I am to write a tic tac toe program and I'm not sure how to go about doing this. What i do know is that I want the num pad to be the board (it'll work nicely), but I dunno how to go about doing it.
"You are to make a two player version of tic-tac-toe, using a two-dimensional array as the board. Your program should not allow the players to cheat in anyway (ie erase a move that has already been done). ".
I need to use a 2d array... and nothing fancy. Just forloops, switches or if statements (switches preferebly)... no extra header files except maybe conio (to clear the screen whena new move is made im thinking...)
So if anyone could help me with an algorithm I would be very happy. I am clueless on how to make the turns and all taht. I am guessing functions, but they confuse me.
THANKS for even reading this people. I appreciate it very much