Planning the Tic
Tac Toe Game
Process
Input Output
There will be 9
square and the If one of the
user is allowed user taps a
to put x in square, it will
Ask the user either box show the
to tap the letter “x”
boxes in a The computer After the player
3x3 grid will also input O turn, the
in one of the computer will go
and one of the
square in the square will show
3x3 grid an “o”
User has If the user If the player or
option to If the user exits the
enters three in a computer get there
row, it will be game, the program
restart in the row or
game over and column, it will will exits. If the user
the user will be restarts the game,
display you win for
the winner
the user or you everything is cleared,
User has lose, if the player except the grid.
option to Else, the computer
lost. If the computer
exit wins if it get three in a wins it will display
row in any of the box. the computer won