Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.idea
*.xml
7 changes: 0 additions & 7 deletions .idea/misc.xml

This file was deleted.

11 changes: 0 additions & 11 deletions .idea/tic-tac-toe.iml

This file was deleted.

210 changes: 0 additions & 210 deletions .idea/workspace.xml

This file was deleted.

13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,15 @@
# tic-tac-toe
Tic Tac Toe game

Python terminal version for popular tic tac toe game.

Game is oriented for two players: x and o.

RULES FOR TIC-TAC-TOE

1. The game is played on a grid that's 3 squares by 3 squares.
2. You are X, your friend (or the computer in this case) is O.
Players take turns putting their marks in empty squares.
3. The first player to get 3 of her marks in a row (up, down, across, or diagonally) is the winner.
4. When all 9 squares are full, the game is over.
If no player has 3 marks in a row, the game ends in a tie.
Loading