An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

          

# Tic-Tac-Toe (C++)
![C++](https://img.shields.io/badge/C++-17-blue?logo=c%2B%2B&logoColor=white)

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.