Skip to content

Commit 2acd981

Browse files
authored
Update README.md
Game rules
1 parent 089d0b1 commit 2acd981

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,15 @@ Small prototype of the snake game made in C++ with the SDL 2 library (dev and tt
44

55
The game implements lives system, pause, scores, random food and Game Over and Game Success screen. For the moment it only supports one speed.
66

7+
## Rules
8+
Food scores:
9+
🟢 green apple = 50 points
10+
🟡 yellow apple = 100 points
11+
🔴 red apple = 300 points
12+
13+
Win condition: 1000 points earned!
14+
Lose condition: all 3 lives lost...
15+
716
## Compilation
817

918
Compile on Linux with **g++ \*.cpp \`sdl2-config --cflags --libs\` -lSDL2_ttf**

0 commit comments

Comments
 (0)