This is my version of the old school game, Snake. I drew the sprites of the cells in Photoshop & developed the game in the Visual Studio IDE programmed in C++ using the SFML Engine. After I created the original game, I implemented artifical intelligence for the snake by creating a path that cycles through all of the cells in the grid until the game is completed.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
Operating System: Windows 10
Must have .dll files inside folder where .exe is placed in
Must have Visual Studio installed if you want to edit the code and debug it yourself
A step by step series of examples that tell you how to get a development env running
1. Clone this repo or download the ZIP
2. Extract ZIP file
1. Open the **Release** folder
2. Click on **Snake.exe**
1. Open Visual Studio 2019
2. Make sure the target environment is x86
3. Make your modifications in C++
4. Test your work by pressing Ctrl+F5, F5, or by clicking the play button
Key | Instruction |
---|---|
W, Up | Go Up |
S, Down | Go Down |
D, Left | Go Left |
A, Right | Go Right |
Space | Pause |
T | Display Text |
Esc | Quit |