Skip to content

Latest commit

 

History

History
48 lines (42 loc) · 1.64 KB

README.md

File metadata and controls

48 lines (42 loc) · 1.64 KB

Snake

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.

Getting Started

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.

Prerequistes

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

Installing

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

Running the Game

1. Open the **Release** folder
2. Click on **Snake.exe**

Modifying the Game w/ Visual Studio 2019

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

Controls

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