currently starts SDL window and repeatedly renders the game to console.
The snake can be controlled with arrow-keys while the SDL-window is focused.
main: add 3 test sections for testing certain functions that can be enabled using a macro variable
game.c: temporarily disable collision, otherwise confusing state because main and menu not implemented yet.
- Implemented the functions in the above files
- game and map are partially tested
- food is extensively tested using the created test-function
- Also added DELAY(ms) macro to common.c
=> global config and game struct changed
=> some functions were dropped/moved
- Outsourced data types and functions to map.c / map.h
- Update function and module diagram
- Adjust custom data types in source code