Professional Documents
Culture Documents
CS Project
CS Project
TAC
TOE
Done By
R Sabarish Kumar
A Santhosh Kumar
T Ashwin Jebaraj
INTRODUCTION
check_winner(board) Function:
Checks if there's a winner on the board (a player
has formed a line).
is_board_full(board) Function:
Checks if the board is full, indicating a draw.
tic_tac_toe() Function:
The main function orchestrating the entire game.
Initializes the game board and manages player
turns.
Accepts player input and updates the board
accordingly.