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.
- Host: GitHub
- URL: https://github.com/marcty/snake-in-c
- Owner: MarcTy
- License: gpl-3.0
- Created: 2023-09-18T20:35:12.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-28T22:36:49.000Z (over 2 years ago)
- Last Synced: 2025-03-23T09:37:37.036Z (about 1 year ago)
- Topics: c, game, gcc, ncurses, ncurses-library, snake, snake-game
- Language: C
- Homepage:
- Size: 18.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.

12*12 Dimensions
Buglist:
- Microsoft Powershell version-5.1.22621.1778 crash on fruit pickup