Inspiration
I really like the game of rock paper scissors and I really like to play it. But not everyone is a kid like me to play it with me. So I thought of building rock paper scissors game, thus I can play it with computer.
What it does
Once the key s is pressed by the player, the computer counts down 3 and at the tick of zero the computer plays it turn randomly and also recognizes the user's turn using webcam. The score is calculated based on rules. The user's turn is captured using mediapipe framework, which is an open-source framework developed by Google focused on object detection. The mediapipe-hand module detects 21 landmarks on hand. The application seamlessly combines the power of Computer Vision technologies, OpenCV, and MediaPipe Hands framework to create an engaging Rock Paper Scissors game. Users can play the game by showcasing their hand gestures in front of the webcam, allowing the application to detect and respond accordingly.
Accomplishments that we're proud of
1️⃣ Hand Detection using MediaPipe: Utilizes the MediaPipe Hands framework to accurately identify and track hand gestures in real-time.
2️⃣ Real-time Webcam Interaction: Captures and processes the user's hand movements through the webcam, enabling an interactive and immersive gaming experience.
3️⃣ Rock Paper Scissors Logic: Implements the traditional rules of Rock Paper Scissors, allowing users to make their selection by displaying the corresponding hand sign to play against the computer.
4️⃣ Interactive Gameplay: Matches the user's hand gesture against the computer's random choice, resulting in an engaging and interactive gaming session.
5️⃣ User-Friendly Interface: Designed with an intuitive interface to ensure a seamless and enjoyable gaming experience.
What we learned
What's next for Rock Paper Scissors
I am looking forward to deploy the game for public and also induce levels of toughness
- Easy
- Medium
- Hard And to let the user choose the winning score too.
Log in or sign up for Devpost to join the conversation.