Professional Documents
Culture Documents
Tic Tac Toe
Tic Tac Toe
Introduction
Tic-tac-toe, also called wick wack woe (in some Asian countries) and noughts and crosses (in the UK, Australia, New Zealand, South Africa, India and the rest of the British Commonwealth countries), is a pencil-and-paper game for two players, X and O, who take turns marking the spaces in a 33 grid. The X player usually goes first. The player who succeeds in placing three respective marks in a horizontal, vertical, or diagonal row wins the game.
TIC-TAC-TOE
EXAMPLE
A1 X B1 O
A1, choice!
B1, choice!
A1, choice!
B1, choice!
A1, choice!
B1, choice!
B1 WINS!
No one wins
Check Extends
Win() Validate()
Output
Windetails() Display()
Input Extends
Extends
Extends
Play()
Play
Thanking You