3 Unstar Star 15 Fork 7

Joker2770 / SDL2snake

Create your Gitee Account
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
Clone or download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

SDL2snake

A game of snake made with SDL2.

Dependencies

Required:

  • cmake - buildsystem
  • g++ (>= 7.4.0 recommended)
  • gcc (>= 7.4.0 recommended)
  • libsdl2-dev,libsdl2-ttf-dev (Linux), sdl2.nuget,sdl2_ttf.nuget (Windows)

Build on Ubuntu(Linux)

sudo apt install libsdl2-dev libsdl2-ttf-dev
git clone https://github.com/Joker2770/SDL2snake.git
cd SDL2snake
mkdir build
cd build
cmake ..
make
./SDL2snake
sudo make install
SDL2snake

Build on Windows

git clone https://github.com/Joker2770/SDL2snake.git
cd SDL2snake/msvc/

Then double click 'SDL2snake.sln', build with Visual Studio.

Comments ( 0 )

Sign in for post a comment

About

A game of snake made with SDL2. spread retract
C++ and 3 more languages
MIT
Cancel

Releases

No release

Gitee Metrics

Contributors

All

Activities

load more
can not load any more
C++
1
https://git.oschina.net/Joker2770/SDL2snake.git
git@git.oschina.net:Joker2770/SDL2snake.git
Joker2770
SDL2snake
SDL2snake
master

Search

132457 8cb2edc1 1899542 131848 70c8d3a4 1899542