Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Game rules
  • Loading branch information
ambrose40 committed Feb 20, 2024
1 parent 089d0b1 commit 2acd981
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,15 @@ Small prototype of the snake game made in C++ with the SDL 2 library (dev and tt

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

## Rules
Food scores:
🟢 green apple = 50 points
🟡 yellow apple = 100 points
🔴 red apple = 300 points

Win condition: 1000 points earned!
Lose condition: all 3 lives lost...

## Compilation

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

0 comments on commit 2acd981

Please sign in to comment.