✊ ✌️ ✋

Rock Paper Scissors

A gesture-based game for Reachy Mini robot

🎮 About This App

An intuitive rock-paper-scissors game designed for children. Play using only gestures, sounds, and movements - no screen or language dependency required.

🖐️

Gesture Recognition

Real-time hand detection using MediaPipe

🔊

Audio Feedback

R2-D2 style sound effects

🤖

Robot Animations

Expressive head and antenna movements

🌐

Web Interface

Real-time status display for debugging

🎯 How to Play

1

Wave to Start

Wave your hand at Reachy Mini's camera to begin the game

2

Countdown

Count down together with the robot: 3, 2, 1...

3

Show Your Gesture

Display Rock, Paper, or Scissors when the countdown ends

4

See the Result

Win, lose, or draw is shown with animations and sounds!

Rock
✌️ Scissors
Paper

📦 Installation

Prerequisites

Quick Start

# Clone the repository
git clone https://huggingface.co/spaces/trtd56/rock_paper_scissors

# Navigate to directory
cd rock_paper_scissors

# Install
pip install -e .

# Run with Reachy Mini
reachy-mini run rock_paper_scissors

Note: The MediaPipe model is automatically downloaded on first run.

🔄 Game States

IDLE → wave → COUNTDOWN → 3,2,1 → DETECT → gesture → RESULT IDLE

🛠️ Tech Stack

Reachy Mini SDK MediaPipe NumPy Pydantic Python 3.10+

🔗 Resources