-
TicTacToe implementation in Python.
-
There are two implementations.
-
Automated Tic Tac Toe
File: automated_tic_tac_toe.py
Description:
Player 1 is user and Player 2 is computer which randomly predicts a position, not yet filled. The computer predicts the position intelligently following a stratergy to win by keeping an eye on the opponents action and future startergies to win and performs an action i.e. draws o or x on that position or any other position with with the user might win in the future or the next moves. The tic tac toe is printed on the python shell. Proper validation of input is done. -
Normal, Multiplayer Tic Tac Toe
File: tic_tac_toe.py
Description:
Player 1 is user and Player 2 is another user. Match between the two users with proper vaidation is done. The tic tac toe is printed on the python shell.
-
Output_TICTACTOE.doc : contains the output images of both the codes.
- Run -> Run Module