Snake
Snake created using basics of C++!
Explore the docs »
View Demo
·
Report Bug
·
Request Feature
About The Project
Snake is the common name for a video game concept where the player maneuvers a line which grows in length, with the line itself being a primary obstacle. If the Snake touches the line, it dies. The main objective of the game is to grow the Snake as much as possible by eating fruits. This increases the score of the Player.
How to Play:
- W,A,S,D to change direction of the Snake.
- Eat the Fruit to Make the Snake Grow. With each fruit 10 Points will be Added to the score.
- If Snake eats itself, game will be over.
Built With
This project is built using following technologies,
Getting Started
This is an example of how you may give instructions on setting up your project locally. To get a local copy up and running follow these simple example steps.
Prerequisites
You must have C++ Compiler installed and configured on your machine. Once Compiler is installed, download main.cpp
from src
directory.
Execution
Below are the instructions that will help you run main.py
.
- Run command prompt.
- Write the following intructions on cmd,
$ # Assign execution permissions
$ chmod +x main.cpp
$ # Run the script by using its filename
$ ./main.py
See the open issues for a full list of proposed features (and known issues).
Contributing
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Contact
MUHAMMAD HARRIS - @im_harrisg - harris20014@gmail.com
Project Link: Snake