https://github.com/alibro005/tic-tac-toe
A simple C++ console-based Tic-Tac-Toe game built during my first semester. Player vs Computer with basic AI.
https://github.com/alibro005/tic-tac-toe
cpp semester-1
Last synced: about 1 year ago
JSON representation
A simple C++ console-based Tic-Tac-Toe game built during my first semester. Player vs Computer with basic AI.
- Host: GitHub
- URL: https://github.com/alibro005/tic-tac-toe
- Owner: Alibro005
- Created: 2025-06-25T13:04:18.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-06-25T13:18:20.000Z (about 1 year ago)
- Last Synced: 2025-06-25T14:26:22.584Z (about 1 year ago)
- Topics: cpp, semester-1
- Language: C++
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Tic-Tac-Toe (C++)

A simple console-based Tic-Tac-Toe game built in C++ during my first semester. It features a 3x3 board where the player competes against a computer that selects random moves.
## Features
- Player vs Computer mode
- Win and tie detection
- Randomized computer moves
- Simple CLI interface
## How to Run
```bash
g++ main.cpp -o tictactoe
./tictactoe
```
## License
MIT License - Free to use and modify.