{"id":23406939,"url":"https://github.com/mohammed-helal/pingpongpy","last_synced_at":"2026-04-13T21:32:16.446Z","repository":{"id":268828536,"uuid":"903693119","full_name":"Mohammed-Helal/PingPongPY","owner":"Mohammed-Helal","description":"Ping Pong Game with Hand Tracking 🎮✋ A fun and interactive Ping Pong game built with Python, OpenCV, and CvZone! Control the paddles using real-time hand tracking, challenge a friend, and see who reaches 5 points first. Easy to set up and play! 🚀","archived":false,"fork":false,"pushed_at":"2024-12-19T05:54:51.000Z","size":12473,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-09T00:07:16.733Z","etag":null,"topics":["computer-vision","hand-gesture-recognition","hand-tracking","opencv","ping-pong-game","pygame","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Mohammed-Helal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-15T10:03:24.000Z","updated_at":"2024-12-19T05:54:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"082c9526-2d75-4c0d-aff9-ec5361ae7112","html_url":"https://github.com/Mohammed-Helal/PingPongPY","commit_stats":null,"previous_names":["mohammed-helal/pingpongpy"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mohammed-Helal%2FPingPongPY","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mohammed-Helal%2FPingPongPY/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mohammed-Helal%2FPingPongPY/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mohammed-Helal%2FPingPongPY/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Mohammed-Helal","download_url":"https://codeload.github.com/Mohammed-Helal/PingPongPY/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247947859,"owners_count":21023066,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["computer-vision","hand-gesture-recognition","hand-tracking","opencv","ping-pong-game","pygame","python"],"created_at":"2024-12-22T14:16:20.917Z","updated_at":"2026-04-13T21:32:16.378Z","avatar_url":"https://github.com/Mohammed-Helal.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ping Pong Game with Hand Tracking 🎮✋\n\nA fun and interactive Ping Pong game built with Python, OpenCV, and CvZone! Control the paddles using real-time hand tracking, challenge a friend, and see who reaches 5 points first. 🚀\n\n## Project Team\n- Ahmed Mosaad\n- Ahmed Shaheen\n- Mohammed Helal\n- Islam Mohammed \n\n## Features\n- Real-time hand tracking for paddle control.\n- Dynamic ball physics for an exciting experience.\n- Score tracking and game-over screen.\n\n## How to Play\n1. Clone this repository:\ngit clone https://github.com/Mohammed-Helal/PingPongPY.git\n\n2. Install dependencies:\npip install -r requirements.txt\n\n3. Run the game:\npython main.py\n\n4. Use your left and right hands to control the paddles and bounce the ball.\n\n## Assets\nPlace all required images in the `Resources/` folder:\n- `Background.png`: The background of the game.\n- `gameOver.png`: The game-over screen.\n- `Ball.png`: The ball image.\n- `bat1.png` and `bat2.png`: Paddle images for Player 1 and Player 2.\n\n## Controlling Speed\nYou can control the speed of the object in the game by modifying the `speedX` and `speedY` variables in the code. These variables represent the movement speed of the object in the horizontal and vertical directions, respectively.\n\n- **`speedX`**: Controls the speed of the object in the horizontal (X) direction.\n- **`speedY`**: Controls the speed of the object in the vertical (Y) direction.\n\nBy changing the values of `speedX` and `speedY`, you can adjust the speed of the object's movement, allowing for customized gameplay.\n\nExample:\n```c\nint speedX = 20;  // Speed in the horizontal direction\nint speedY = 30;  // Speed in the vertical direction\n```\n\n## Controls\n- Press `R` to restart the game.\n- The first player to reach 5 points wins!\n\n## Requirements\n- Python \n- OpenCV\n- CvZone\n- NumPy\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmohammed-helal%2Fpingpongpy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmohammed-helal%2Fpingpongpy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmohammed-helal%2Fpingpongpy/lists"}