Added restart, text display and score, updated ReadMe

This commit is contained in:
2022-05-09 16:02:20 +02:00
parent 43afd03fc4
commit 9601dd1360
4 changed files with 120 additions and 58 deletions
+6
View File
@@ -30,6 +30,12 @@ brew install sdl2
export LIBRARY_PATH="$LIBRARY_PATH:/usr/local/lib"
```
### Run the game
```
cargo run --release
```
You can also just enter ``` cargo build --release ```` and then start the binary from target/src
## How to play ?
This is a local multiplayer game, so two players can play using the same keyboard, player 1 uses 'w' and 's' and so player 2 uses the arrow keys.