# SDL2snake **Repository Path**: sleepy-min/SDL2snake ## Basic Information - **Project Name**: SDL2snake - **Description**: A game of snake made with SDL2. - **Primary Language**: C++ - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 12 - **Created**: 2020-10-18 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # SDL2snake A game of snake made with SDL2. ## Dependencies Required: * [cmake](http://www.cmake.org) - 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.