An open API service indexing awesome lists of open source software.

https://github.com/yasnakateb/snake

🐍 A simple Snake Game in C
https://github.com/yasnakateb/snake

ncurses snake terminal-game

Last synced: about 2 months ago
JSON representation

🐍 A simple Snake Game in C

Awesome Lists containing this project

README

          

# Snake

The aim of this game is collecting the gold (@).
As you collect gold, the snake gets longer, thus increasing the likelihood of crashing into yourself.

## The rules of the game:

The player loses when the snake runs into the screen border or itself.
## Hot Keys:

UP, DOWN: move along the Y-axis
LEFT, RIGHT: move along the X-axis

Dependencies
============

This game needs ncurses and a C compiler.

## Building on macOS
1. Ncurses can be installed via Homebrew :
$ brew install ncurses

2. Clone the repository
3. Run $ make
4. Run the executable snake

![](ScreenShots/snake.png)