Skip to content

dmarcr1997/UdacityCPPCapstone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snake Game

This project is a basic Snake Game that uses the SDL2 and SDL2_ttf libraries. It uses CMake as a build system.

Dependencies

On Debian/Ubuntu based distributions, use the following command:

sudo apt install git build-essential pkg-config cmake cmake-data libsdl2-dev libsdl2-ttf-dev

Optional packages:

sudo apt install libsdl2-image-dev libsdl2-net-dev libsdl2-mixer-dev libsdl2-gfx-dev

Build instructions

# Clone this repo
git clone https://github.com/dmarcr1997/UdacityCPPCapstone.git
cd	UdacityCPPCapstone

# Create a build folder
mkdir build
cd build

# Build
cmake ..
make

# Run
./SnakeGame

Note: To use SDL2_image, SDL2_net, SDL2_mixer or SDL2_gfx, you should uncomment some instructions in the CMakeLists.txt file and re-execute the make command.

License

Author: Damon M. Rocha

This project is distributed under the terms of the MIT license <LICENSE>.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published