{"id":30799822,"url":"https://github.com/rsync25/pinpong-game","last_synced_at":"2025-09-05T19:55:10.005Z","repository":{"id":308919639,"uuid":"1034575609","full_name":"Rsync25/Pinpong-game","owner":"Rsync25","description":"PingPong Game by GTP-5","archived":false,"fork":false,"pushed_at":"2025-08-08T16:27:35.000Z","size":11,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-08T18:21:29.625Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://rsync25.github.io/Pinpong-game/","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Rsync25.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2025-08-08T16:02:02.000Z","updated_at":"2025-08-08T16:27:38.000Z","dependencies_parsed_at":"2025-08-08T18:21:31.126Z","dependency_job_id":"5fdc864c-0018-4865-9a99-bfc493586135","html_url":"https://github.com/Rsync25/Pinpong-game","commit_stats":null,"previous_names":["rsync25/pinpong-game"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/Rsync25/Pinpong-game","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rsync25%2FPinpong-game","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rsync25%2FPinpong-game/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rsync25%2FPinpong-game/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rsync25%2FPinpong-game/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Rsync25","download_url":"https://codeload.github.com/Rsync25/Pinpong-game/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rsync25%2FPinpong-game/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273813325,"owners_count":25172892,"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-05T02:00:09.113Z","response_time":402,"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":"2025-09-05T19:55:05.974Z","updated_at":"2025-09-05T19:55:09.996Z","avatar_url":"https://github.com/Rsync25.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ping Pong PWA Game\n\nA responsive, mobile-friendly **Ping Pong** game built with HTML5 Canvas and JavaScript, now enhanced with **Progressive Web App (PWA)** support for offline play.\n\n## Features\n- Classic Pong gameplay\n- Responsive layout for desktop and mobile\n- Mouse/touch controls for the player paddle\n- AI opponent paddle\n- Offline capability via Service Worker\n- Installable as a PWA with an **Install App** button\n- Precache of assets for full offline functionality\n\n## Files\n- `index.html` – The main game and UI logic\n- `manifest.json` – PWA manifest configuration\n- `sw.js` – Service Worker for caching and offline use\n\n## How to Run Locally\n1. **Clone or download** this repository.\n2. Serve files via a local HTTP server (PWA requires `http` or `https`). You can use Python’s built-in server:\n   ```bash\n   python3 -m http.server 8000\n   ```\n   or Node’s `http-server`:\n   ```bash\n   npx http-server .\n   ```\n3. Open your browser and navigate to:\n   ```\n   http://localhost:8000\n   ```\n4. Play the game! You’ll see the **Install App** button when eligible.\n\n## PWA Installation\n- On supported browsers, click the **Install App** button or use the browser’s install prompt.\n- The game will be installed as a standalone app and will work offline.\n\n## Offline Mode\n- When installed or after the first visit, assets are precached by `sw.js`.\n- The game remains playable without an internet connection.\n\n## License\nThis project is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frsync25%2Fpinpong-game","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frsync25%2Fpinpong-game","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frsync25%2Fpinpong-game/lists"}