An implementation of the retro game Snake in C++. I wrote this as a way of learning C++. It makes use of the GLFW library and CMake to build the project.
- A C++11 compiler
- CMake >= 2.8
## Quick Start
Clone the project:
git clone https://github.com/andystanton/lana-snake.git --recursive && cd lana-snake
Run the following commands to generate the makefile and build:
./configure
make
This will create the lana-snake executable in the project directory.
Run the following command to generate the project files for your IDE:
cmake . -G {ide_name}
For more information on CMake's project generators and a full list of supported platforms and IDEs, see the documentation.
- Left Arrow : Rotate Left
- Right Arrow : Rotate Right
- Space : Pause