The classic Snake game, but with its own personality — mystery power-ups, dynamic difficulty, engaging audio and a sleek terminal UI. Built from scratch in C with ncurses.
[EscapeSnake[]:> preserves the classic nostalgia, while adding unpredictable power‑ups that can either make or break your game.
- Classic Snake Mechanics - Grow your snake, avoid walls and yourself
- Mystery Barrels - Random power-ups, surprises or penalties
- Dynamic Difficulty - Speed increases as you grow
- Retro Audio - Engaging sound effects to enhance the experience
- Rich Terminal UI - Vibrant colors, with real-time score updates & visual feedback
← ↑ → ↓ Move the snake
Space Pause/Resume
S Disable Music
Q Quit
- A C compiler (like
gccorclang). - The
ncurseslibrary. (ncursesw for Unicode support). - This code is macOS & linux compatible
git clone https://github.com/Nnamann/EscapeSnake.git
cd EscapeSnake
gcc main.c -o escapesnake -lncursesw
./escapesnake
Feel free to:
- Report bugs
- Suggest features
- Submit pull requests
- Star if you enjoyed the game
EscapeSnake began as a tangle of raw terminal escape sequences and grew into a somewhat polished ncurses game. From implementing the core mechanics to refining the UI, each challenge was a new learning experience.
Thank you for checking it out!
Made with chaos, color, and lots of caffeine.
