Skip to content

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.

License

Notifications You must be signed in to change notification settings

nnamann/EcsapeSnake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EscapeSnake

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.

Key Features

  • 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

Controls

← ↑ → ↓   Move the snake  
Space     Pause/Resume  
S         Disable Music  
Q         Quit  

A glimpse of the game Snake_snippet

Installation & Running

Prerequisites

  • A C compiler (like gcc or clang).
  • The ncurses library. (ncursesw for Unicode support).
  • This code is macOS & linux compatible

Running On Linux & macOS

git clone https://github.com/Nnamann/EscapeSnake.git
cd EscapeSnake

gcc main.c -o escapesnake -lncursesw
./escapesnake

Contributing

Feel free to:

  • Report bugs
  • Suggest features
  • Submit pull requests
  • Star if you enjoyed the game

Dev Note

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.

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages