Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# Snaketerminal
--------------------------------------------------------------------------------------------------------------
## INSTRUCTIONS TO PLAY
1. Snake game in c++ using ncurses header file playable on terminal.</t>
1. Snake game in ~~c++~~ **python** using ~~ncurses header file~~ collections library playable on terminal.</t>
2. use arrows keys up,down,left,right to control the snake's movement.
3. Feed the snake to make it grow longer and longer.
4. Remember not to hit the boundaries and snake itself if you hit game over.Make snake grow long as long as you can.

## INSTRUCTIONS TO RUN
1. Make sure to install ncurses header file if not then install it by using following commands.
" sudo apt-get install libncurses5-dev libncursesw5-dev ".
2. Run following commands in terminal--
3. cd Snaketerminal
4. ./a.out
~~1. Make sure to install ncurses header file if not then install it by using following commands.~~
~~sudo apt-get install libncurses5-dev libncursesw5-dev~~
~~2. Run following commands in terminal--~~
~~3. cd Snaketerminal~~
~~4. ./a.out~~
5. Enjoy the game.