Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fyzanshaik/tic-tac-toe
https://github.com/fyzanshaik/tic-tac-toe
Last synced: about 5 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/fyzanshaik/tic-tac-toe
- Owner: fyzanshaik
- Created: 2024-08-01T15:46:33.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-08-01T16:01:05.000Z (4 months ago)
- Last Synced: 2024-09-17T09:21:01.842Z (about 2 months ago)
- Language: Go
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Tic-Tac-Toe with Hand Gesture Control
This project features two components:
1. **Gesture-Controlled Tic-Tac-Toe**: A Tic-Tac-Toe game where moves are made using hand gestures recognized via a camera.
2. **Terminal-Based Tic-Tac-Toe**: A classic Tic-Tac-Toe game running in the terminal.## Project Structure
- `game-gesture/`: Contains the code for the gesture-controlled Tic-Tac-Toe game.
- `game-go/`: Contains the code for the terminal-based Tic-Tac-Toe game.## Setup
### Gesture-Controlled Tic-Tac-Toe
1. **Install Go** and **Python**.
2. **Navigate to `gesturegame/` folder**:```sh
cd game-gesture
```3. **Build and run the Go application**:
```sh
go build -o tic-tac-toe
./tic-tac-toe
```
4. **Install Python dependencies**:
```sh
pip install opencv-python mediapipe
```
5. **Run the Python script for gesture recognition**:
```sh
python scripts/gesture_recognition.py
```### Terminal-Based Tic-Tac-Toe
1. **Navigate to `terminalapp/` folder**:
```sh
cd game-go
```
2. **Build and run the Go application**:
```sh
go build -o tic-tac-toe
./tic-tac-toe
```## Control Flow
1. **Gesture-Controlled Game**:
- Runs the Go game logic with input from a Python script that recognizes hand gestures.
2. **Terminal Game**:
- A standard terminal-based Tic-Tac-Toe game with text-based input and output.### Summary:
- **Project Structure**: Describes the organization of your folders.
- **Setup**: Provides setup instructions for both components.
- **Control Flow**: Explains the basic operation of each component.
- **Contact**: Provides contact information for further inquiries.```
```