Merge conflict fix
This commit is contained in:
commit
b7b42fa038
57
README.md
57
README.md
@ -1,29 +1,28 @@
|
|||||||
# SnakePlusPlus
|
# SnakePlusPlus
|
||||||
A version of Snake made in C++ and using SFML
|
A version of Snake made in C++ and using SFML
|
||||||
|
|
||||||
## Controls
|
## Controls
|
||||||
- Use the arrow keys to move the Snake
|
- Use the arrow keys to move the Snake
|
||||||
- Use the escape key to close the game
|
- Use the escape key to close the game
|
||||||
|
|
||||||
## Compiling the game
|
## Compiling the game
|
||||||
|
|
||||||
Prerequisites
|
Prerequisites
|
||||||
- C++11
|
- C++11
|
||||||
- [SFML](https://github.com/SFML/SFML)
|
- [SFML](https://github.com/SFML/SFML)
|
||||||
|
|
||||||
Clone the repository and compile it using:
|
Clone the repository and compile it using:
|
||||||
|
|
||||||
git clone https://github.com/TriantaTV/snakeplusplus.git
|
git clone https://github.com/TriantaTV/snakeplusplus.git
|
||||||
|
|
||||||
In order to compile the project, simply run these two commands:
|
In order to compile the project, simply run these two commands:
|
||||||
|
|
||||||
cmake -B build -S .
|
cmake -B build -S .
|
||||||
cmake --build build
|
cmake --build build
|
||||||
|
|
||||||
## Running the Project
|
## Running the Project
|
||||||
The program should now be compiled at ./build/bin/snakeplusplus
|
The program should now be compiled at ./build/bin/snakeplusplus
|
||||||
|
|
||||||
Simply run the program using:
|
Simply run the program using:
|
||||||
|
|
||||||
build/bin/snakeplusplus
|
build/bin/snakeplusplus
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user