Skip to content

I work late night so create my own game for 2 players in python

Notifications You must be signed in to change notification settings

praveen1664/Tic-Tac-Toe-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Tic-Tac-Toe-Game

I work late night so create my own game

tic-tac-toe

On call keeps me awake at night so I decided to make a python tic-tac-toe game

python play-tic-tac-toe.py

 1 | 2 | 3            |  
|
---+--+--        ---+--+--
 4 | 5 | 6            |  
|
---+--+--        ---+--+--
 7 | 8 | 9            |  
|

Choose a position:

 1 | 2 | 3            |  
|
---+--+--        ---+--+--
 4 | 5 | 6            | X | O
---+--+--        ---+--+--
 7 | 8 | 9            |  
|

Choose a position:
6 is already in use
           You win!
 1 | 2 | 3          O |  
| X
---+--+--        ---+--+--
 4 | 5 | 6            | X | O
---+--+--        ---+--+--
 7 | 8 | 9          X | O | X

Would you like to play again? (y/n)

 

About

I work late night so create my own game for 2 players in python

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages