https://github.com/property404/terminal-snake-game
Simple TUI snake game for Linux made with C11 and ncurses
https://github.com/property404/terminal-snake-game
Last synced: 10 months ago
JSON representation
Simple TUI snake game for Linux made with C11 and ncurses
- Host: GitHub
- URL: https://github.com/property404/terminal-snake-game
- Owner: Property404
- Created: 2018-06-28T23:43:53.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2019-10-05T13:58:25.000Z (over 6 years ago)
- Last Synced: 2025-03-28T11:17:50.441Z (about 1 year ago)
- Language: C
- Homepage:
- Size: 106 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Snake
Simple curses snake game. Use arrow keys to collect food
## Building and Installing
To build: `make`
To run: `./snake`
To run test: `make test`
To install: `sudo make install` or `make install_local`
Requires ncurses
## Gameplay

Use the arrow keys to move around and collect food. Be careful not to hit a wall(the sides of your terminal or the scoreboard) or yourself. Press 'p' or spacebar to pause.
The longer you play, the faster you go. Eventually, food will start being worth more and more points.