Skip to content

jackboakes/Snake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

snake_logo Snake Game watermelon

A classic Snake game implemented in C++ 17 using Raylib. All visual artwork and sound effects were created by me.

snake_menu snake_gameplay snake_gameover

Requirements

  • Windows 10 or later
  • Git
  • CMake (version 3.11 or later)
  • A C++17 compatible compiler

Getting Started

  1. Clone the repository:
git clone https://github.com/jackboakes/Snake.git
  1. Open the project folder:
cd Snake
  1. Generate build files and build the project:
cmake -B build -DCMAKE_BUILD_TYPE=Release && cmake --build build --config Release
  1. After building, run the game from the command line:
build\Release\Snake.exe

Controls

  • W: Move Up
  • A: Move Left
  • S: Move Down
  • D: Move Right
  • ESC: Quit Game
  • Left Click: Select Menu Option

About

A classic Snake game implemented in C++ 17 using Raylib.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages