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

https://github.com/bharat2044/2d_snake_game_project


https://github.com/bharat2044/2d_snake_game_project

Last synced: 7 months ago
JSON representation

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