/snake-game

The classic snake game playable from the command line

Primary LanguageC++

snake-game

The classic snake game where the user must control a snaking using WASD and eat apples to score points. The user loses when the snake head touches the snakes body. The snake is implemented through the use of a linked list. This was created to test out game programming patterns.

The only difference between original and split is how the code is organized.

Setup

  1. cd into /split and compile the files
gcc game.cpp -o snake
  1. run the compiled program
./snake

Screenshot

Image