Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Shubh2-0 committed Nov 30, 2023
1 parent ec654e3 commit f1d3e77
Showing 1 changed file with 113 additions and 0 deletions.
113 changes: 113 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,113 @@
# GestureGlide 🎮👋

Welcome to GestureGlide, an enthralling Rock-Paper-Scissors game meticulously crafted with the power of Python and OpenCV. Step into a realm where AI meets human interaction, utilizing the language of hand gestures to decipher your strategic intent. As you stand across the digital table from your AI adversary, your open hand transforms into the solid symbol of Rock, the airy flutter of Paper, or the decisive form of Scissors. Engage in a symphony of technology and imagination, where your gestures hold the key to victory. Explore the immersive landscape of GestureGlide, where code and creativity collide. 🤖🪨📃✂️

![Gameplay Demo](images/hero.png)

## Features 🎮

- Real-time hand tracking using OpenCV.
- Play against an AI that randomly selects Rock, Paper, or Scissors.
- Interactive timer to track game duration ⏱️.
- Visual representation of your move and AI's move 🤏.
- Keeps track of player and AI scores 📊.

## Installation ⚙️

📌 Clone the repository:


``
git clone https://github.com/Shubh2-0/gesture-glide.git
cd gesture-glide
``

📌 Install the required libraries:


``
pip install opencv-python cvzone
``

📌 Place your background image and move images in the resources/ directory.

## Usage 🚀

✴️ Run the game script:
``
python game.py
``


✴️ Press the 'x' key to start the game after the webcam feed is displayed.

✴️ Show your hand gesture to select Rock, Paper, or Scissors when the timer reaches 3 seconds.

✴️ The AI will make its move simultaneously, and the winner of the round will be displayed.

## Controls 🎮

🎯 Press 'x': Start the game.

🎯 Gesture your hand to select Rock, Paper, or Scissors.

![Gameplay Demo](images/setup.png)

## Video Presentation 📹
Curious about how GestureGlide works? Watch our detailed video presentation to see the gameplay in action and learn more about the project's features.

📹 [GestureGlide Video Presentation](https://drive.google.com/file/d/13X3C0e1x8AnrUxCu7neQApnYZVWjo7gY/view?usp=sharing)

## Tools Used 🛠️

<table align="center">
<tr>
<td align="center" width="170">
<img src="images/python_18894.png" width="48" height="48" alt="Python" />
<br>Python
</td>
<td align="center" width="170">
<img src="images/PyCharm.png" width="45" height="45" alt="PyCharm" />
<br>PyCharm
</td>
<td align="center" width="170">
<img src="images/github.png" width="45" height="45" alt="Github" />
<br>Github
</td>
</tr>

</table>




## Contributing 🤝
Contributions are welcome! Here's how you can contribute to this project:

1. Fork the repository.
2. Create a new branch for your feature: **git checkout -b feature-new-feature**
3. Commit your changes: **git commit -m 'Add new feature'**
4. Push to the branch: **git push origin feature-new-feature**
5. Open a pull request.




## 📬 Contact

If you want to contact me, you can reach me through below handles.

<p align="left">
<a href="https://www.linkedin.com/in/shubham-bhati-787319213/" target="_blank"><img align="center" src="https://skillicons.dev/icons?i=linkedin" width="40px" alt="linkedin" /></a>&emsp;
<a title="shubhambhati226@gmail.com" href="mailto:shubhambhati226@gmail.com" target="_blank"><img align="center" src="https://cdn-icons-png.flaticon.com/128/888/888853.png" width="40px" alt="mail-me" /></a>&emsp;
<a href="https://wa.me/+916232133187" target="blank"><img align="center" src="https://media2.giphy.com/media/Q8I2fYA773h5wmQQcR/giphy.gif" width="40px" alt="whatsapp-me" /></a>&emsp;
</p>

<br>

<div align="center">
<strong>🚀Enjoy the game and have fun playing GestureGlide, where hand gestures pave the way to victory! 🎉👾</strong>
</div>



0 comments on commit f1d3e77

Please sign in to comment.