« Participation: Functions in Tic Tac Toe

Tic Tac Toe

1st Task :

ask the users if they want to be X or O and set the user to their choice.

2nd Task:

label the tic tac toe gride 1-9 and ask the user what number they want.

3rd Task:

if the user gets three in a row, for example, if x=1,5,9 and x=user1. user 1 wins.

0 replies