/Cpp-ND-capestone_snake_game

Capestone project for udacity nano-degree program.

Primary LanguageC++

Cpp-ND-capestone_snake_game

Capestone project for udacity nano-degree program. Ascii Snake game using ncurses as the renderer.
All class files (headers and definations) are located in the src folder. The main function is to be found in file Snake.cpp. Idea inspired by youtuber casual coder.

  • As with traditional snake game functionality, the game involves a snake the moves in the direction of the player's choice.
  • The snake consumes apples on the board and grows in size. The game ends if the snake bites its own body.
  • The player gains a point everytime they consume an apple.

Ascii Snake

Dependencies for Running Locally

Basic Build Instructions

  1. Clone this repo.
  2. Make a build directory in the top level directory: mkdir build && cd build
  3. Compile: cmake .. && make
  4. Run it: ./snake.