4 Commits

Author SHA1 Message Date
jonny_jr9
529b633c7a minor Fixes in game.c and map.c
- game: fix target position on teleport
- map: also print snake head and tail to console
2023-12-03 21:56:18 +01:00
jonny_jr9
061b4431c7 Implement game.c, food.c and map.c
- 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
2023-11-11 11:14:38 +01:00
jonny_jr9
71c054f092 Add common.h with LOG macro, Add '#pragma once'
- add conditional logging macro in common.h
- add '#pragma once' to every header file
- fix typo in food.h
2023-11-10 14:38:14 +01:00
jonny_jr9
3e40be47cf Update module structure: Add map.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
2023-11-10 12:46:00 +01:00