Skip to content

valixxx1/snake_game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is it?

This is a console based snake game that was made in C++ for Linux (not Windows). It uses ncurses for drawing.

This is the interface:
Sorry, this message wasn't showed. Maybe it's broken...
I think it is beautiful.

How to install?

The first step: download repository git clone https://github.com/valixxx1/snake_game
If you have processor x64 and Ubuntu OS, try to run snake file ./snake
Else:

  1. Make sure you have make util sudo apt install make
  2. Also pay attention that you need have g++ sudo apt install g++
  3. Compile files with command make
  4. Run the game ./snake

How to play?

Press WASD for changing snake's direct. If your snake bump into the border or itself, the game will end. I think everybody knows how to play this game)))

If you want to help with developing

If you have an idea how to upgrade this game, you can send me a pull request. Maybe I will implement this.

About

Console based snake game for Linux C++

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published