Skip to content

Ashuman5/tic_tac_toe_python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Tic Tac Toe Python

A simple two-player Tic Tac Toe game that runs in the terminal. Players choose positions from 1 to 9, and the board updates after every move.

Features

  • Two-player gameplay
  • Number-based board positions
  • Win detection for rows, columns, and diagonals
  • Draw detection
  • Option to play again after a match

Technologies Used

  • Python
  • Functions
  • Loops and conditionals
  • Terminal input/output

How to Run

  1. Clone the repository.
  2. Open the project folder.
  3. Run the game:
python tic_tac_toe_game.py

Example Board

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

Author

Ashutosh Tiwari

About

Terminal-based two-player Tic Tac Toe game built with Python.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages