{"id":16768053,"url":"https://github.com/bouk/motion-pong","last_synced_at":"2025-09-07T12:41:42.608Z","repository":{"id":6852275,"uuid":"8100997","full_name":"bouk/motion-pong","owner":"bouk","description":"Motion controlled pong game for school project","archived":false,"fork":false,"pushed_at":"2013-03-03T18:12:53.000Z","size":3388,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-16T13:24:58.591Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bouk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-02-08T20:41:49.000Z","updated_at":"2020-07-20T07:08:38.000Z","dependencies_parsed_at":"2022-08-26T10:11:31.136Z","dependency_job_id":null,"html_url":"https://github.com/bouk/motion-pong","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bouk/motion-pong","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bouk%2Fmotion-pong","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bouk%2Fmotion-pong/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bouk%2Fmotion-pong/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bouk%2Fmotion-pong/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bouk","download_url":"https://codeload.github.com/bouk/motion-pong/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bouk%2Fmotion-pong/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274039530,"owners_count":25211901,"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","status":"online","status_checked_at":"2025-09-07T02:00:09.463Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-10-13T06:10:39.906Z","updated_at":"2025-09-07T12:41:42.517Z","avatar_url":"https://github.com/bouk.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"This is the source code for a school project done by Bouke van der Bijl and Yannick Middelkoop\n\nIt is an implementation of pong which uses the webcam to control the paddles\n\n## Requirements to run\n\n* [PyBox2d](http://code.google.com/p/pybox2d/)\n* [OpenCV (compiled with some GIL locks removed)](https://github.com/boukevanderbijl/opencv)\n* [PyGame](http://www.pygame.org/news.html)\n* Python 2.7\n* 2 green circles like these:\n\n![paddles](http://i.imgur.com/s6F8KJD.jpg)\n\n## How to play the game\n\nExecute `python game.py` to play the game. You'll be greeted by a menu that you can control with the arrow keys and enter to select an option. After selecting something the game starts immediately.\n\nJust stand in front of your webcam and (with sufficient lighting) the game should detect the green circles and move the in-game paddles to their correct positions. Try to bounce the ball into your opponent's endzone!\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbouk%2Fmotion-pong","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbouk%2Fmotion-pong","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbouk%2Fmotion-pong/lists"}