Skip to content
NemGamPublic

About

The Snake game recreated with C++ and SDL2

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Repository files navigation

The Snake game recreated with C++ and SDL2

Snake

Windows build can be downloaded here. Just unpack to any folder and run snake.exe.

Getting Started (Linux)

Dependencies

  • CMake (version 3.7 or higher recommended)
  • C++ Compiler: Compatible with C++17 standard
  • SDL2 (>= 2.0.20)
  • SDL2-ttf (>= 2.0.18)

Downloading

Clone the repository:

git clone https://github.com/NemGam/Snake.git

Navigate to the project directory:

cd Snake

Building the Project

From the project root directory, generate the build system:

cmake -S . -B build

Compile and install the project:

cmake --build build && cmake --install build

Running the Application

Execute the compiled application:

./dist/bin/snake

About

The Snake game recreated with C++ and SDL2

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages