https://github.com/aitorruizes/tic-tac-toe
Tic-Tac-Toe game implemented in C, featuring a Minimax Algorithm for decision-making.
https://github.com/aitorruizes/tic-tac-toe
Last synced: about 1 year ago
JSON representation
Tic-Tac-Toe game implemented in C, featuring a Minimax Algorithm for decision-making.
- Host: GitHub
- URL: https://github.com/aitorruizes/tic-tac-toe
- Owner: aitorruizes
- License: mit
- Created: 2024-08-19T17:39:23.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-08-19T21:37:06.000Z (almost 2 years ago)
- Last Synced: 2025-02-14T19:55:46.407Z (over 1 year ago)
- Language: C
- Size: 27.3 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Tic-Tac-Toe
This is a Tic-Tac-Toe game implemented in C, featuring a Minimax Algorithm for decision-making.
## Project Structure
- **`build/`**: Directory for build artifacts (object files and executable).
- **`include/`**: Directory for header files.
- **`src/`**: Directory for source files.
- **`Makefile`**: Build script to compile the project.
- **`README.md`**: Project documentation.
## Building the Project
To build the project, follow these steps:
1. **Navigate to the project directory**:
```sh
cd /path/to/your/project
```
2. **Run the `make` command**:
```sh
make
```
This will compile the source files and generate the executable in the `build/` directory.
## Running the Game
To run the Tic-Tac-Toe game after building, execute the appropriate command based on your operating system:
- **On Linux**:
```sh
./build/main
```
- **On Windows**:
```sh
.\build\main.exe
```
## Notes
- Ensure you have a compatible C compiler and `make` utility installed on your system.
- For more details on the Minimax Algorithm and game mechanics, refer to the source code in the `src/` directory.