{"id":30343571,"url":"https://github.com/lsafonso/kendrick-puppet-football","last_synced_at":"2025-08-18T11:13:35.964Z","repository":{"id":309796294,"uuid":"1037581466","full_name":"lsafonso/Kendrick-Puppet-Football","owner":"lsafonso","description":null,"archived":false,"fork":false,"pushed_at":"2025-08-13T20:04:08.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-13T22:07:07.363Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/lsafonso.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,"zenodo":null}},"created_at":"2025-08-13T19:47:50.000Z","updated_at":"2025-08-13T20:04:11.000Z","dependencies_parsed_at":"2025-08-13T22:07:10.461Z","dependency_job_id":"8d3e2db8-dad1-409c-88f2-be0c06683695","html_url":"https://github.com/lsafonso/Kendrick-Puppet-Football","commit_stats":null,"previous_names":["lsafonso/kendrick-puppet-football"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/lsafonso/Kendrick-Puppet-Football","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lsafonso%2FKendrick-Puppet-Football","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lsafonso%2FKendrick-Puppet-Football/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lsafonso%2FKendrick-Puppet-Football/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lsafonso%2FKendrick-Puppet-Football/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lsafonso","download_url":"https://codeload.github.com/lsafonso/Kendrick-Puppet-Football/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lsafonso%2FKendrick-Puppet-Football/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270982215,"owners_count":24679454,"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-08-18T02:00:08.743Z","response_time":89,"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-08-18T11:13:35.299Z","updated_at":"2025-08-18T11:13:35.947Z","avatar_url":"https://github.com/lsafonso.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ⚽ Kendrick Puppet Football ⚽\n\nA fun 2D web-based football game built with Phaser.js where two players control cartoon-style puppet footballers in an exciting 1v1 match!\n\n## 🎮 Game Features\n\n- **1v1 Player vs Player** gameplay\n- **Cartoon-style puppets** with oversized heads and fun animations\n- **Realistic physics** including gravity, collision detection, and ball physics\n- **Football stadium background** with animated crowd\n- **Score tracking** and countdown timer\n- **Sound effects** when goals are scored\n- **Responsive controls** for both players\n- **No installation required** - runs directly in any modern web browser\n\n## 🎯 How to Play\n\n### Objective\nScore goals by kicking the ball into your opponent's goal! The first player to score 5 goals wins, or the player with the most goals when time runs out.\n\n### Controls\n\n#### Player 1 (Blue Team)\n- **← →** Move left/right\n- **↑** Jump\n- **Spacebar** Shoot/Kick ball\n\n#### Player 2 (Red Team)\n- **A D** Move left/right\n- **W** Jump\n- **F** Shoot/Kick ball\n\n## 🚀 Getting Started\n\n### Prerequisites\n- A modern web browser (Chrome, Firefox, Safari, Edge)\n- No additional software installation required\n\n### Running the Game\n\n1. **Download/Clone** the repository to your local machine\n2. **Open** `index.html` in your web browser\n   - Double-click the file, or\n   - Drag and drop into your browser window, or\n   - Right-click and select \"Open with\" your preferred browser\n3. **Press SPACE** to start the game\n4. **Enjoy** playing Kendrick Puppet Football!\n\n### Alternative: Local Server (Recommended)\nFor the best experience, run a local web server:\n\n```bash\n# Using Python 3\npython -m http.server 8000\n\n# Using Python 2\npython -m SimpleHTTPServer 8000\n\n# Using Node.js (if you have it installed)\nnpx http-server\n\n# Using PHP (if you have it installed)\nphp -S localhost:8000\n```\n\nThen open `http://localhost:8000` in your browser.\n\n## 🛠️ Technical Details\n\n- **Framework**: Phaser.js 3.60.0\n- **Physics Engine**: Arcade Physics\n- **Graphics**: Programmatically generated using Phaser Graphics API\n- **Audio**: Web Audio API for goal celebration sounds\n- **Responsive Design**: Optimized for 800x600 game area\n\n## 🎨 Game Elements\n\n- **Players**: Blue (Player 1) and Red (Player 2) puppet characters\n- **Ball**: White football with realistic bouncing physics\n- **Field**: Green football pitch with white lines and center circle\n- **Goals**: Green goalposts on left and right sides\n- **Platforms**: Brown platforms for strategic positioning\n- **Crowd**: Animated yellow dots representing stadium spectators\n\n## 🏆 Game Rules\n\n1. **Scoring**: Ball must enter the opponent's goal to score\n2. **Time Limit**: 2-minute match timer\n3. **Win Condition**: First to 5 goals OR highest score when time expires\n4. **Physics**: Realistic gravity and ball bouncing\n5. **Movement**: Players can move, jump, and kick the ball\n6. **Collisions**: Players can't pass through each other or platforms\n\n## 🔧 Customization\n\nThe game is built with modular code that makes it easy to customize:\n\n- **Colors**: Modify the hex color codes in the `preload()` function\n- **Physics**: Adjust gravity, bounce, and velocity values\n- **Timing**: Change the game duration in the `timeLeft` variable\n- **Scoring**: Modify the win condition in the `checkGoal()` function\n- **Controls**: Update key bindings in the `update()` function\n\n## 🌟 Future Enhancements\n\nPotential features for future versions:\n- Power-ups and special abilities\n- Multiple ball types\n- Tournament mode\n- Custom character skins\n- Enhanced sound effects and music\n- Mobile touch controls\n- Multiplayer over network\n\n## 📱 Browser Compatibility\n\n- ✅ Chrome 60+\n- ✅ Firefox 55+\n- ✅ Safari 12+\n- ✅ Edge 79+\n- ❌ Internet Explorer (not supported)\n\n## 🐛 Troubleshooting\n\n**Game won't start?**\n- Make sure you're using a modern browser\n- Check that JavaScript is enabled\n- Try refreshing the page\n\n**Controls not responding?**\n- Ensure the game window is focused\n- Check that no other applications are using the same keys\n- Try pressing SPACE first to start the game\n\n**Performance issues?**\n- Close other browser tabs\n- Reduce browser zoom level\n- Update your graphics drivers\n\n## 📄 License\n\nThis project is open source and available under the MIT License.\n\n## 🤝 Contributing\n\nFeel free to contribute to this project by:\n- Reporting bugs\n- Suggesting new features\n- Submitting pull requests\n- Improving documentation\n\n---\n\n**Enjoy playing Kendrick Puppet Football!** ⚽🎮\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flsafonso%2Fkendrick-puppet-football","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flsafonso%2Fkendrick-puppet-football","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flsafonso%2Fkendrick-puppet-football/lists"}