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.

License

Notifications You must be signed in to change notification settings

andystanton/lana-snake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published