This project was made with melty.sh, an AI code editor.
REALITY PONG is an interactive, webcam-based version of the classic Pong game. Players control their paddles using hand movements captured by their webcam, creating an immersive and fun gaming experience.
Play at RealityPong.com
- Webcam-based hand tracking for paddle control
- Classic Pong gameplay with a modern twist
- Retro-style graphics with a green-on-black color scheme
- Sound effects for ball bounces and scoring
- Real-time score tracking
- Open the
index.html
file in a modern web browser. - Allow the browser to access your webcam when prompted.
- Position yourself so that your hands are visible to the webcam.
- Move your left hand up and down to control the left paddle.
- Move your right hand up and down to control the right paddle.
- Try to hit the ball with your paddle and score points against your opponent!
- The game is built using HTML5, CSS3, and JavaScript.
- Hand tracking is implemented using a simple color-based detection algorithm.
- The game canvas is rendered using the HTML5 Canvas API.
- Sound effects are generated using the Web Audio API.
- A modern web browser with JavaScript enabled
- A webcam
- Sufficient lighting for hand detection
This project was developed using melty.sh, an AI code editor.
- Implement more advanced hand tracking for better control
- Add difficulty levels and game modes
- Introduce power-ups and special effects
- Create a multiplayer online version
This project is open-source and available under the MIT License.
Enjoy playing REALITY PONG!