https://github.com/bharat2044/2d_snake_game_project
https://github.com/bharat2044/2d_snake_game_project
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/bharat2044/2d_snake_game_project
- Owner: Bharat2044
- Created: 2023-05-24T06:13:56.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-05-25T03:12:59.000Z (over 2 years ago)
- Last Synced: 2025-03-26T11:15:48.625Z (7 months ago)
- Language: C++
- Size: 12.7 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 2D Snake Game
## Snake Game in C++ Using ncurses library of ubuntu (linux)
### `Is is a GUI based Project made using ncurses library`
## Linux:
If your linux distro does not have the headers you need to get them first:
sudo apt-get libncurses6 libncurses6-dev
Then you should be able to compile with:
## Compiling the game:
### Windows:
Windows OS should have ncurses headers already so this should work:
gcc main.cpp -o slither
## Run the game:
After compliling run this code then it will work
./slither