Skip to content

simrahm23/Tic-Tac-Toe-CPP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Tic-Tac-Toe in C++

A two-player terminal-based Tic-Tac-Toe game implemented in C++ using basic console I/O.

Features

  • Dynamic board updates after each move
  • Input validation to prevent illegal moves
  • Win/draw detection after each turn
  • Replay functionality to restart the game

🛠️ How to Compile and Run

Using g++:

g++ "tic tac toe" -o tictactoe
./tictactoe

About

Two-player terminal-based Tic-Tac-Toe game in C++

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors