Fixed readme

This commit is contained in:
TriantaTV 2023-08-10 18:37:15 -05:00
parent a8cc2d1174
commit 20586a7855

View File

@ -2,12 +2,10 @@
A version of Snake made in C++ and using SFML
## Controls
-----------
- Use the arrow keys to move the Snake
- Use the escape key to close the game
## Compiling the game
------------------
Prerequisites
- C++11
@ -18,4 +16,15 @@ Clone the repository and compile it using:
git clone https://github.com/TriantaTV/snakeplusplus.git
make
The game is output into the `bin` folder, simply run the game and enjoy!
In order to compile the project, simply run these two commands:
cmake -B build -S .
cmake --build build
## Running the Project
The program should now be compiled at ./build/bin/snakeplusplus
Simply run the program using:
build/bin/snakeplusplus