Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/novara754/snake

A terminal-based game of snake written in C11 using ncurses.
https://github.com/novara754/snake

Last synced: 30 days ago
JSON representation

A terminal-based game of snake written in C11 using ncurses.

Awesome Lists containing this project

README

        

# snake

A terminal-based game of snake written in pure C11 using ncurses.

## Instructions

### Building & Running

**Requirements:** POSIX-compliant operating system with libncurses installed.

Run the following command to compile the game:
```
$ make all
```
Then you can simply run the resulting executable:
```
$ ./snake
```

## Controls

To steer the snake you can use WASD or simply the arrow keys. Move the Snake (represented by `#`)
to collect apples (`O`). You can press Q to quit the game.

## Screenshot

![screenshot of the game](screenshot.png).

## Bugs

- Snake can collide with itself with no repurcussions

## License

Licensed under the [MIT License](LICENSE.md).