Skip to content

FireStormy1/Tic-Tac-Toe-Using-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Basic-Projects

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

  1. The game starts with Player X.
  2. Players take turns entering the position where they want to place their mark.
  3. The first player to align three marks in a row, column, or diagonal wins.
  4. 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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages