2 player game on the same device

Hi,

I am very new to Corona and am learning my first basic game. I have been tasked to create a tic tac toe / noughts and crosses game. I am having issues finding information on how to set up the game to allow for two players on one device to choose who goes first - X or O. Any help would be greatly appreciated. 

Kind Regards,

Katie.

Well, it depends on how you would like the conditions to be set.

For example, for the first game, it could choose randomly, and in the games that follow the winner goes first.

For the first game, a random number generator would be needed.

For the second game, just declare a variable and change it everytime a game ends.

The intent was for the players to choose which of them goes first. 

Well, it depends on how you would like the conditions to be set.

For example, for the first game, it could choose randomly, and in the games that follow the winner goes first.

For the first game, a random number generator would be needed.

For the second game, just declare a variable and change it everytime a game ends.

The intent was for the players to choose which of them goes first.