Skip to content

MBM-AI-Club/Assignment-3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Assignment 3

Q. Design a Tic-Tac-Toe game in python by taking position inputs of both 'X' and 'O' users, displaying the move after each turn and displaying the winner in the end.

Example:

In: 
Player X: 4

Out:
   |   |
-----------
   | X |
-----------
   |   |
   
In:
Player O: 2
Out: 
   |   | O
-----------
   | X |
-----------
   |   |

In: 
Player X: 0
Out:
 X |   | O
-----------
   | X |
-----------
   |   |
   
In:
Player O: 5
Out: 
 X |   | O
-----------
   | X | O
-----------
   |   |

In:
Player X: 8
Out: 
 X |   | O
-----------
   | X | O
-----------
   |   | X

Player X is the winner!!!

About

Assignment 3 for AI Club

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published