{"id":26102444,"url":"https://github.com/jancarauma/cobra","last_synced_at":"2025-08-18T17:13:16.778Z","repository":{"id":162576127,"uuid":"327733742","full_name":"jancarauma/cobra","owner":"jancarauma","description":"Snake game written in C - animations, retro menu, smart snake enemies, sound effects.","archived":false,"fork":false,"pushed_at":"2025-07-23T14:41:14.000Z","size":8552,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-23T16:30:55.283Z","etag":null,"topics":["animation","astar","astar-algorithm","bass-library","c","game","retro-game","retro-game-snake","snake","snake-game"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jancarauma.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}},"created_at":"2021-01-07T21:56:55.000Z","updated_at":"2025-07-23T14:41:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"bd6d7d04-9dcd-4311-8e46-8ee4c621d05d","html_url":"https://github.com/jancarauma/cobra","commit_stats":null,"previous_names":["jancarauma/cobra"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jancarauma/cobra","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jancarauma%2Fcobra","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jancarauma%2Fcobra/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jancarauma%2Fcobra/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jancarauma%2Fcobra/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jancarauma","download_url":"https://codeload.github.com/jancarauma/cobra/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jancarauma%2Fcobra/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271027687,"owners_count":24687082,"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":["animation","astar","astar-algorithm","bass-library","c","game","retro-game","retro-game-snake","snake","snake-game"],"created_at":"2025-03-09T19:10:43.414Z","updated_at":"2025-08-18T17:13:16.769Z","avatar_url":"https://github.com/jancarauma.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🐍 Cobra: A Retro Snake Game in C\n\n[![GitHub stars](https://img.shields.io/github/stars/lavradodosilicio/cobra.svg?style=social\u0026label=Stars)](https://github.com/lavradodosilicio/cobra)\n[![GitHub forks](https://img.shields.io/github/forks/lavradodosilicio/cobra.svg?style=social\u0026label=Fork)](https://github.com/lavradodosilicio/cobra)\n[![GitHub release](https://img.shields.io/github/release/lavradodosilicio/cobra.svg)](https://github.com/lavradodosilicio/cobra/releases)\n\n## 🎮 Game Overview\nCobra is an immersive snake game for Linux, crafted with passion and C programming prowess. Experience a nostalgic journey through retro-style gameplay with innovative features that set it apart from traditional snake games.\n\n![Main Menu Screenshot](https://github.com/lavradodosilicio/cobra/blob/main/screenshots/Captura%20de%20tela%20de%202021-01-07%2018-02-55.png)\n\n## ✨ Standout Features\n\n### 🚀 Cutting-Edge Gameplay\n- [x] **Animated Intro:** Stunning ASCII Art animation\n- [x] **Retro Menu Design:** Nostalgic user interface\n- [x] **Intelligent Enemies:** A* algorithm for \"smart\" snake opponents\n- [x] **Dynamic Obstacles:** Challenging game environment\n- [x] **Immersive Sound Effects:** Bass library audio integration\n\n### 🔜 Coming Soon\n- [ ] Leaderboard/Records System\n- [ ] Customization Options\n- [ ] Comprehensive Help Menu\n\n## 🛠 Installation Guide\n\n### Prerequisites\n- Linux (Tested on Ubuntu)\n- Git\n- Basic development tools\n- GCC Compiler\n\n### 1. Clone the Repository\n```bash\ngit clone https://github.com/jancarauma/cobra.git\ncd cobra\n```\n\n### 2. Install Dependencies\n#### A* Library\nFor x86 machines:\n```bash\nsudo dpkg -i lib/libastar0_0.9-2_i386.deb\n```\nFor x64 machines:\n```bash\nsudo dpkg -i lib/libastar0_0.9-1_amd64.deb\n```\n\n#### BASS Library\n```bash\nsudo cp lib/libbass.so /usr/local/lib\nsudo chmod a+rx /usr/local/lib/libbass.so\nsudo ldconfig\n```\n\n## 🎮 How to Play\n\n### Controls\n- **⬆️⬇️⬅️➡️:** Navigate snake or menu\n- **Space:** Pause game\n- **Enter:** Select menu option\n\n## 🖼 Gameplay Screenshots\n![Intro Screen](https://github.com/lavradodosilicio/cobra/blob/main/screenshots/Captura%20de%20tela%20de%202021-01-09%2020-30-22.png)\n![Gameplay Animation](https://github.com/lavradodosilicio/cobra/blob/main/screenshots/Captura%20de%20tela%20de%202021-01-07%2018-02-52.png)\n![Game Scene](https://github.com/lavradodosilicio/cobra/blob/main/screenshots/Captura%20de%20tela%20de%202021-01-07%2018-02-42.png)\n\n## 🚀 Quick Start\n```bash\ncd cobra\nmake\n./cobra\n```\n\n## 📦 Dependencies\n- libastar (Version 0.9)\n- bass (Latest version)\n\n## 🤝 Contributing\nWe welcome contributions! Please follow these steps:\n\n1. Fork the repository\n2. Create your feature branch (`git checkout -b feature/AmazingFeature`)\n3. Commit your changes (`git commit -m 'Add some AmazingFeature'`)\n4. Push to the branch (`git push origin feature/AmazingFeature`)\n5. Open a Pull Request\n\n### Contribution Guidelines\n- Follow existing code style\n- Write clear, commented code\n- Include tests for new features\n- Update documentation\n\n## 🐛 Reporting Issues\nFound a bug? Please open an issue with:\n- Detailed description\n- Steps to reproduce\n- Your environment details\n\n## 🌟 Show Your Support\nGive a ⭐ if you enjoyed the game!\n\n## 📄 License\nMIT License\n\n## 📞 Contact\n- Project Link: [https://github.com/jancarauma/cobra](https://github.com/jancarauma/cobra)\n- Creator: @engjango (Jango)\n\n## 🏆 Acknowledgments\n- A* Library by Alexios.\n- BASS Library by UN4SEE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjancarauma%2Fcobra","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjancarauma%2Fcobra","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjancarauma%2Fcobra/lists"}