Tic Tac Toe (Human vs Human)
A simple Tic Tac Toe game built in Python where two human players can play against each other on the same computer.
This project was created to practice Python programming, logic building, and game development basics.
Features Two-player gameplay (Human vs Human) Simple and interactive interface Detects win conditions automatically Detects draw conditions Prevents overwriting already occupied positions Easy to run and modify
How to Play
- The game starts with Player X.
- Players take turns entering the position where they want to place their mark.
- The first player to align three marks in a row, column, or diagonal wins.
- If all positions are filled and no player wins, the game ends in a draw.
Concepts Used Python functions Lists / 2D board representation Conditional statements Loops Game logic implementation
Future Improvements Add Human vs Computer mode Add GUI using Tkinter or Pygame Add score tracking Improve interface design
Author
Saswat
B.Tech CSE Student Learning Data Structures, Python, and Software Development