https://github.com/copyleftdev/tic-tac-dolan
love ya bro
https://github.com/copyleftdev/tic-tac-dolan
Last synced: about 2 months ago
JSON representation
love ya bro
- Host: GitHub
- URL: https://github.com/copyleftdev/tic-tac-dolan
- Owner: copyleftdev
- Created: 2023-11-16T06:31:41.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-16T06:36:58.000Z (over 2 years ago)
- Last Synced: 2025-09-10T05:40:23.441Z (9 months ago)
- Language: C
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Tic-Tac-Dolan
Welcome to the GitHub repository of Tic-Tac-Dolan, a custom-designed Tic-Tac-Toe game for my friend Chris Dolan. Built with C and the ncurses library, this project is a testament to friendship and the joy of coding.
## Features
- **Arrow Key Navigation**: Move around the grid using arrow keys.
- **Space Bar Selection**: Choose your cell with the space bar to mark 'X' or 'O'.
- **ncurses Interface**: A simple, terminal-based UI for a clear and interactive experience.
- **Win/Lose/Draw Detection**: The game automatically detects and announces wins, losses, or draws.
## Installation and Setup
### Prerequisites
Ensure you have the following installed:
- GCC (GNU Compiler Collection)
- ncurses library
### Cloning the Repository
Clone the repository to your local machine:
```bash
git clone https://github.com/copyleftdev/tic-tac-dolan.git
cd tic-tac-dolan
```
### Compiling the Game
Compile the game using the provided Makefile:
```bash
make
```
### Running the Game
Execute the compiled program:
```bash
./tic-tac-dolan
```
## How to Play
- Navigate through the grid using the **arrow keys**.
- Press the **space bar** to place your 'X' or 'O'.
- The game will automatically announce a winner or a draw.
## Customizing the Game
Feel free to explore the code and add your own features or tweaks. Contributions to improve the game are always welcome!
## Acknowledgements
- A special thanks to Chris Dolan, whose friendship inspired this project.
- Gratitude to the open-source community for their endless resources and support.
## Connect with Us
For any queries or suggestions, please feel free to open an issue or a pull request in this repository.
Enjoy playing Tic-Tac-Dolan!