Skip to content

aeron-gh/cpp_tictactoe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Compile and Run "Windows"

  1. Make sure MinGW (g++) is installed.
  2. Open Command Prompt in the project folder.
  3. Compile: g++ tictactoe.cpp -o tictactoe
  4. Run: tictactoe.exe Note: Replace system("clear") with system("cls") for Windows.

"macOS / Linux"

  1. Open Terminal in the project folder.
  2. Compile: g++ tictactoe.cpp -o tictactoe or clang++ tictactoe.cpp -o tictactoe
  3. Run: ./tictactoe

About

This is a simple two-player Tic-Tac-Toe game implemented in C++ that runs in the terminal. The game uses a 3×3 board where players take turns entering the row and column positions to place their symbol (X or O).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages