Functionality | keyboard key |
---|---|
Turn left | l |
Turn right | r |
Move forward | f |
The goal of this game is to score as much point as possible or get the snake as long as possible before the Energy Unit(EU) point goes to zero. And to avoid colliding with your body.
-
- a normal 🍎 food 🍎 looks like "o" and when eaten gives an Energy Unit(EU) point of 15
- a special 🍒 food 🍒 looks like: "X" and when eaten gives an Energy Unit(EU) point of 25
- A point is scored for everytime the the "f" key is pressed. And the snake grows for every forward movement. The maximum possible score is 1200 points and this is equal to the area of the game screen.
The game end when the EU goes to zero or when snake collides with itself.
type the following in the terminal;
make
type:
./snake11
Follow the instruc5tions on the screen.