Skip to content
🐍 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.
C++ CMake
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
resource
src
.gitignore
.gitmodules
.travis.yml
CMakeLists.txt
LICENSE
README.md
configure
snake.icns

README.md

Lana Snake Build Status Stories in Ready

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.

Requirements

## 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.

Generating project files for your IDE

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.

Controls

  • Left Arrow : Rotate Left
  • Right Arrow : Rotate Right
  • Space : Pause
You can’t perform that action at this time.