Skip to content

nadaaskora/Tic-Tac-Toe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Tic-Tac-Teo

a program takes coordinates and prints either "X", "O", or "Draw".

---------
|       |
|       |
|       |
---------
Enter the coordinates: 1 2
---------
|       |
| X     |
|       |
---------
Enter the coordinates: 1 3
---------
| O     |
| X     |
|       |
---------
Enter the coordinates: 2 1
---------
| O     |
| X     |
|   X   |
---------
Enter the coordinates: 2 3
---------
| O O   |
| X     |
|   X   |
---------
Enter the coordinates: 1 1
---------
| O O   |
| X     |
| X X   |
---------
Enter the coordinates: 3 1
---------
| O O   |
| X     |
| X X O |
---------
Enter the coordinates: 3 2
---------
| O O   |
| X   X |
| X X O |
---------
Enter the coordinates: 3 3
---------
| O O O |
| X   X |
| X X O |
---------
O wins

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages