{"id":30845468,"url":"https://github.com/tharindu714/pongai.com","last_synced_at":"2026-05-15T18:34:28.006Z","repository":{"id":308984477,"uuid":"1034798448","full_name":"Tharindu714/pongai.com","owner":"Tharindu714","description":"Welcome to Pong AI — a modern, crisp take on the classic Pong game with responsive visuals, smooth controls, and a cheeky AI opponent that loves a good rematch.","archived":false,"fork":false,"pushed_at":"2025-08-09T02:37:44.000Z","size":134,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-09T04:15:50.380Z","etag":null,"topics":["github","javascript","pong-game"],"latest_commit_sha":null,"homepage":"https://tharindu714.github.io/pongai.com/","language":"JavaScript","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/Tharindu714.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-09T02:29:31.000Z","updated_at":"2025-08-09T02:38:40.000Z","dependencies_parsed_at":"2025-08-09T04:27:07.469Z","dependency_job_id":null,"html_url":"https://github.com/Tharindu714/pongai.com","commit_stats":null,"previous_names":["tharindu714/pongai.com"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/Tharindu714/pongai.com","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tharindu714%2Fpongai.com","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tharindu714%2Fpongai.com/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tharindu714%2Fpongai.com/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tharindu714%2Fpongai.com/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Tharindu714","download_url":"https://codeload.github.com/Tharindu714/pongai.com/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tharindu714%2Fpongai.com/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273974082,"owners_count":25200587,"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-06T02:00:13.247Z","response_time":2576,"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":["github","javascript","pong-game"],"created_at":"2025-09-06T23:10:54.486Z","updated_at":"2025-10-09T23:16:38.645Z","avatar_url":"https://github.com/Tharindu714.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🚀 Pong AI 🏓 — Play \u0026 Challenge the Bot\n\n**Dev by Tharindu** ([github.com/Tharindu714](https://github.com/Tharindu714))\n\n\u003e Play directly: 🔗 **[https://tharindu714.github.io/pongai.com/](https://tharindu714.github.io/pongai.com/)**\n\n---\n\nWelcome to **Pong AI** — a modern, crisp take on the classic Pong game with responsive visuals, smooth controls, and a cheeky AI opponent that loves a good rematch. This repo is perfect for anyone who wants a quick browser game, a demo for frontend skills, or a fun time-waster. 🎉\n\n## 🎯 Highlights\n\n* ✅ **Play in your browser** — no install required (GitHub Pages live demo)\n* 🎮 **Controls:** mouse, touch, keyboard (W / S / ↑ / ↓)\n* 📱 **Mobile friendly** — touch controls supported\n* 🖥️ **HiDPI / responsive canvas** for crisp graphics on all screens\n* 🔊 Tiny built-in sound effects using WebAudio (no assets)\n* ⚙️ Clean, well-commented code — comes in both a user-friendly JS file and a TypeScript source\n\n## ▶️ Play Now\n\n**Live demo:** [https://tharindu714.github.io/pongai.com/](https://tharindu714.github.io/pongai.com/)\nClick **Start ▶** and show that bot who's the boss! 👑\n\n## 💡 Why play this one?\n\nThis version of Pong adds subtle modern touches: a glowing center, rounded paddles, improved collision physics (so your hits feel *real*), a smarter but fair AI, and keyboard/touch support so you can challenge it anywhere.\n\n---\n\n## 🛠️ Run Locally\n\nWant to tinker? Here's how:\n\n```bash\n# Clone the repo\ngit clone https://github.com/Tharindu714/pongai.com.git\ncd pongai.com\n\n# Option A — quick open (works in most browsers):\n# open index.html in your browser\n\n# Option B — run a simple HTTP server (recommended for audio \u0026 modules):\n# Python 3\npython -m http.server 8000\n# then visit http://localhost:8000\n```\n\nIf you prefer TypeScript development, `game.ts` is provided — compile with `tsc game.ts --outFile game.js` or use your preferred bundler (Vite/Parcel/webpack).\n\n---\n\n## 🎮 Controls\n\n* **Mouse / Touch:** Move left paddle up \u0026 down\n* **Keyboard:** `W` / `S` or `↑` / `↓`\n* **Start:** Click **Start ▶** or press spacebar to serve\n* **Pause / Restart:** Use the HUD buttons\n\n---\n\n## 📸 Screenshots / GIF\n\n*(Paste your GIF or screenshots below — they look great on the repo front page.)*\n\n\u003cimg width=\"1366\" height=\"721\" alt=\"image\" src=\"https://github.com/user-attachments/assets/4e2972ba-075d-424b-8265-410ea50f8327\" /\u003e\n\n\n---\n\n## 🧭 Architecture / Notes\n\n* Single-canvas rendering with logical resolution (800×440) scaled for device pixel ratio\n* Simple AI that predicts ball position with adjustable speed — easy to tweak\n* Sound generated with WebAudio — no file dependencies\n\n**UML / Diagram**\n\n*(Paste UML diagram or architecture sketch here)*\n\n---\n\n## 🤝 Contribute\n\nLove the game and want to help? Pull requests are very welcome!\n\n* Add difficulty levels\n* Add high-score persistence (`localStorage` or server backend)\n* Improve visuals, particle effects, or add multiplayer\n\n---\n\n## 🤩 About the Dev\n\n**Tharindu Chanaka** — Frontend tinkerer \u0026 indie game fan.\nGitHub: [https://github.com/Tharindu714](https://github.com/Tharindu714)\nWebsite / Demo: [https://tharindu714.github.io/pongai.com/](https://tharindu714.github.io/pongai.com/)\n\nIf you enjoyed the game, star ⭐ the repo and drop a message — I love seeing people play! If you want a custom version (branding, difficulty, or integration into your site), DM me on GitHub.\n\n---\n\n## 📜 License\n\nThis project is released under the **MIT License** — feel free to use, fork, and remix.\n\n---\n\n**Have fun slamming that little blue ball — and don’t forget to brag when you beat the AI! 🏆**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftharindu714%2Fpongai.com","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftharindu714%2Fpongai.com","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftharindu714%2Fpongai.com/lists"}