Cobra 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.
- Animated Intro: Stunning ASCII Art animation
- Retro Menu Design: Nostalgic user interface
- Intelligent Enemies: A* algorithm for "smart" snake opponents
- Dynamic Obstacles: Challenging game environment
- Immersive Sound Effects: Bass library audio integration
- Leaderboard/Records System
- Customization Options
- Comprehensive Help Menu
- Linux (Tested on Ubuntu)
- Git
- Basic development tools
- GCC Compiler
git clone https://github.com/lavradodosilicio/cobra.git
cd cobra
For x86 machines:
sudo dpkg -i lib/libastar0_0.9-2_i386.deb
For x64 machines:
sudo dpkg -i lib/libastar0_0.9-1_amd64.deb
sudo cp lib/libbass.so /usr/local/lib
sudo chmod a+rx /usr/local/lib/libbass.so
sudo ldconfig
- ⬆️⬇️⬅️➡️: Navigate snake or menu
- Space: Pause game
- Enter: Select menu option
cd cobra
make
./cobra
- libastar (Version 0.9)
- bass (Latest version)
We welcome contributions! Please follow these steps:
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature
) - Commit your changes (
git commit -m 'Add some AmazingFeature'
) - Push to the branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
- Follow existing code style
- Write clear, commented code
- Include tests for new features
- Update documentation
Found a bug? Please open an issue with:
- Detailed description
- Steps to reproduce
- Your environment details
Give a ⭐ if you enjoyed the game!
MIT License
- Project Link: https://github.com/lavradodosilicio/cobra
- Creator: @engjango (Jango)
- A* Library by Alexios.
- BASS Library by UN4SEE.