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

https://github.com/marcty/snake-in-c

Snake game crafted with C and Ncurses library.
https://github.com/marcty/snake-in-c

c game gcc ncurses ncurses-library snake snake-game

Last synced: 15 days ago
JSON representation

Snake game crafted with C and Ncurses library.

Awesome Lists containing this project

README

          

# Snake-in-C
Snake game crafted with C and Ncurses library.

"WASD" to move

To compile and run:
```
gcc snake.c -o snake -I"path-to-curses-library" -lncurses
./snake
```

For error handling:
```
gcc -Wall -g snake.c -o snake I"path-to-curses-library" -lncurses
./snake
```

Works with Powershell version-7.3.6, gcc compiler, ensure Curses library is installed and reachable.

snakec

12*12 Dimensions

Buglist:
- Microsoft Powershell version-5.1.22621.1778 crash on fruit pickup