Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

Primitive Snake game using Ncurses

Small snake game written in C++ using ncurses. I was more interested in challenging myself to build an OOP game project along with a gameplay loop and frame update loop, which is why the graphical aspects are a bit rough.

Gameplay Loop

Use ZQSD to control the snake. Eat the eggs 'O' to get bigger. If the snake bites its body the game ends. An egg 'O' appears at the tip of the snake's tail (not very healthy) everytime it eats an egg. The snake speeds when it eats.

How to play

Linux only, requires ncurses. sudo apt install ncurses-dev should work.

cd src
g++ main.cpp -lncurses -o snake
snake

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages