I am trying to make a tic-tac-toe game. Confused about how to go about it

I am currently in the middle of making a tic-tac-toe game (I am a beginner, so I know a lot of basics up to, and including some, classes). I wanted to make the X and O huge(6x6) inside of an 18x18 board. I am at the point where Player 1 can input whatever they want, and their X will go wherever they chose, but then I am confused what to do next. I basically have the users choice recreate the row of their choice (eg if the user chose top right then it would recreate the entire first row, putting blank spaces(like the normal board in the first two, and then an X in the third). I am confused on what to do next, because the way I have it, if the 2nd player chooses the top left, then it will put an X in the top left, and then wipe out user 1 choice.

Is there an easier way to go about this?
Not really sure what your code looks like at the moment.

You could create a char *[3][3] array, when the user chooses to place a circle or cross in the top left corner. You would then do the following;

char *[1][1] = "Circle" //or "Cross"

You would then incorporate this into your function which prints the board

Hope this helps, bit of a newbie myself to be honest
Topic archived. No new replies allowed.