Fix typos in snake.c - compiles now
- use global variable 'game' from game.h instead of declaring new one - fix typo wrong variables - correct move out of map boundary
This commit is contained in:
@@ -21,7 +21,6 @@ typedef struct snake_t
|
||||
bool isAlive; // lebt die Schlange noch oder ist sie mit sich selbst kollidiert?
|
||||
} snake_t;
|
||||
|
||||
extern gameData_t game;
|
||||
|
||||
void snakeInit();
|
||||
// Snake mit bestimmter Startlänge an Startposition erstellen
|
||||
|
||||
Reference in New Issue
Block a user