Skip to content

anastasia-v-r/Cnake

Repository files navigation

Cpp nake
A snake Clone using SFML

Build Status GitHub pre-release License my server

What is this?

This is a clone of the famous "Snake" game coded in C++ with the aid of SFML and other libraries.

Table of contents

Game Showcase

Self Build Instructions

Dependencies
Contributing
License
Credits

Game Showcase

  • Intro Screen

  • Menu Screen

  • Settings Screen

  • Gameplay Screen

  • Pause Screen

  • Game Over Screen

How to build yourself

Windows (In Progress)

  1. Install python
    • Install Python
    • export PATH="/c/Python37:/c/Python37/Scripts:$PATH"
    • python -m pip install --upgrade pip
  2. Install Cmake and conan
  3. 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 ..
  4. In the project root, make a build folder and build cmake inside
    • Run makedir build && cd build
    • Run cmake ..
    • Run cmake --build .

Linux (In Progress)

  1. 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
  2. In the project root, make a conan folder and build conan inside
  3. In the project root, make a build folder and build cmake inside
    • Run makedir build && cd build
    • Run cmake ..
    • Run cmake --build .

OSX (In Progress)

  1. Install Cmake and conan
    • Install Python
    • pip install --user --upgrade pip
    • pip install --user conan --upgrade
  2. In the project root, make a conan folder and build conan inside
  3. In the project root, make a build folder and build cmake inside
    • Run makedir build && cd build
    • Run cmake ..
    • Run cmake --build .

Dependencies

Contributions

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.

  1. Format your code like mine. If my code is against standard, let me know and I'll change it.
  2. No additional dependencies.
  3. Any and all contributions meeting those standards are appreciated and will be looked at.

License

This project is under the MIT License

Credits

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