Skip to content

KavyPings/TicTacToe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

4 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŽฎ Terminal Tic Tac Toe in Python

This is a simple two-player Tic Tac Toe game built in Python and played in the terminal. It's designed for quick matches with clean game logic, input validation, and win/tie detection.


๐Ÿ“Œ Features

  • Two-player mode (Player X vs Player O)
  • Input validation (no crashes on invalid or empty input)
  • Win detection (rows, columns, diagonals)
  • Tie detection when the board is full
  • Easy-to-understand board layout and turn-by-turn updates

๐Ÿ–ฅ๏ธ How to Run

  1. Clone or download this repository.
  2. Make sure you have Python installed (any version โ‰ฅ 3.6).
  3. Run the script from the terminal:
python tictactoe.py

About

A simple terminal-based Tic Tac Toe game in Python for two players. Clean interface, input validation, and win/draw detection.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages