Skip to content

Latest commit

 

History

History
28 lines (15 loc) · 1.25 KB

README.md

File metadata and controls

28 lines (15 loc) · 1.25 KB

Tic-Tac-Toe Game

This is a C++ implementation of the Tic-Tac-Toe game where a human player plays against an AI. The game uses a 2D matrix to represent the board and players can input their desired position to place their symbol (O or X). The game constantly checks for a winning player or a tie and displays the final result. The code also includes a function to generate a random move for the AI at the start of the game.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

You will need to have a Windows operating system and Visual Studio installed on your machine.

Installing

You can download the source code of the project from the GitHub repository. Once you have the files, you can open the solution in Visual Studio and build the project.

Running the Game

Once the project is built and the executable is generated, you can run the game by executing the file in the command prompt.

Built With

  • Visual Studio - The IDE used for development
  • C++ - The programming language used

Author