This is a clone of the famous "Snake" game coded in C++ with the aid of SFML and other libraries.
Dependencies
Contributing
License
Credits
- Install python
- Install Python
- export PATH="/c/Python37:/c/Python37/Scripts:$PATH"
- python -m pip install --upgrade pip
- Install Cmake and conan
- Run
pip install conan
- Run
pip install cmake
- export PATH=$PATH:/c/Program\ Files/Conan/conan
- conan user
- conan remote add bincrafters https://api.bintray.com/conan/bincrafters/public-conan
- Run
- In the project root, make a conan folder and build conan inside
- Run
makedir conan && cd conan
- Run
conan install .. -s build_type=Release -b missing
you can change Release to Debug - Run
cd ..
- Run
- In the project root, make a build folder and build cmake inside
- Run
makedir build && cd build
- Run
cmake ..
- Run
cmake --build .
- Run
- Install Cmake and conan
- Install Python
- pip install --user --upgrade pip
- pip install --user conan --upgrade
- export PATH=$PATH:/Users/travis/Library/Python/2.7/bin
- In the project root, make a conan folder and build conan inside
- Run
makedir conan && cd conan
- Run
conan install .. -s build_type=Release -b missing
you can change Release to Debug - Run
cd ..
- conan user
- conan remote add bincrafters https://api.bintray.com/conan/bincrafters/public-conan
- Run
- In the project root, make a build folder and build cmake inside
- Run
makedir build && cd build
- Run
cmake ..
- Run
cmake --build .
- Run
- Install Cmake and conan
- Install Python
- pip install --user --upgrade pip
- pip install --user conan --upgrade
- In the project root, make a conan folder and build conan inside
- Run
makedir conan && cd conan
- Run
conan install .. -s build_type=Release -b missing
you can change Release to Debug - Run
cd ..
- conan user
- conan remote add bincrafters https://api.bintray.com/conan/bincrafters/public-conan
- Run
- In the project root, make a build folder and build cmake inside
- Run
makedir build && cd build
- Run
cmake ..
- Run
cmake --build .
- Run
- SFML v2.5.1
- Statically Linked
- Window, Graphics, and Audio modules
- Json for modern c++ v3.7.0
If you wish to contribute to my little project here for some odd reason,
you are welcome to do so but just follow a few things.
- Format your code like mine. If my code is against standard, let me know and I'll change it.
- No additional dependencies.
- Any and all contributions meeting those standards are appreciated and will be looked at.
This project is under the MIT License
Pickup_03"eat.wav" by Little Robot Sound Factory under the Attribution 3.0 Unported License Hit_03"die.wav" by Little Robot Sound Factory under the Attribution 3.0 Unported License