Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/jowwan/tic-tac-toe

A console-based Tic-Tac-Toe game written in C, featuring three exciting modes: Classic Tic-Tac-Toe, Footy Tic-Tac-Toe, and Basketball Tic-Tac-Toe. Simple, fun, and perfect for nostalgic gameplay!
https://github.com/jowwan/tic-tac-toe

basketball c console console-application console-game cpp football project tic-tac-toe tictactoe

Last synced: about 24 hours ago
JSON representation

A console-based Tic-Tac-Toe game written in C, featuring three exciting modes: Classic Tic-Tac-Toe, Footy Tic-Tac-Toe, and Basketball Tic-Tac-Toe. Simple, fun, and perfect for nostalgic gameplay!

Awesome Lists containing this project

README

        

# Tic Tac Toe

This project is a console-based implementation of the classic Tic Tac Toe game written in C. The project was developed using the Code::Blocks IDE and features three unique variants of the game:

1. **Footy Tic Tac Toe**
2. **Basketball Tic Tac Toe**
3. **Classic Tic Tac Toe**

All player data is updated as of Summer 2023.

## Features
- **Three Variants**:
- Footy Tic Tac Toe: Players inspired by famous footballers.
- Basketball Tic Tac Toe: Players inspired by renowned basketball players.
- Classic Tic Tac Toe: The traditional game with Xs and Os.
- **Interactive Console Interface**: User-friendly input and display for seamless gameplay.
- **Two-Player Mode**: Play against a friend.

## Requirements
- A C compiler (e.g., GCC)
- Code::Blocks IDE (recommended for running and editing the code)
- Console environment to run the compiled executable

## How to Run
1. Clone the repository:
```bash
git clone https://github.com/Jowwan/Tic-Tac-Toe.git
```
2. Open the project in Code::Blocks.
3. Build and run the project.
4. Follow the on-screen instructions to choose a variant and start playing.

## Gameplay Instructions
1. Select a game variant from the menu.
2. Enter player names (if applicable).
3. Players take turns to select a position on the grid by entering the corresponding number.
4. The game ends when a player aligns three of their symbols in a row, column, or diagonal, or when the grid is full (resulting in a draw).

## Acknowledgments
- Inspired by classic and modern sports.
- Built with love for programming and games.

---
Feel free to contribute by submitting issues or pull requests!