Skip to content

Latest commit

 

History

History
16 lines (14 loc) · 753 Bytes

README.md

File metadata and controls

16 lines (14 loc) · 753 Bytes

Snaketerminal


INSTRUCTIONS TO PLAY

  1. Snake game in c++ using ncurses header file playable on terminal.
  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
  5. Enjoy the game.