From c100e56944590985ed8ecbdcbc5f0d27b6542767 Mon Sep 17 00:00:00 2001 From: Matheus Date: Sun, 19 Oct 2025 14:52:49 -0300 Subject: feat:the game Kinda forgot commit. --- map.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 map.h (limited to 'map.h') diff --git a/map.h b/map.h new file mode 100644 index 0000000..018376f --- /dev/null +++ b/map.h @@ -0,0 +1,17 @@ +#ifndef MAP_H +#define MAP_H + +typedef struct Point { + int x; + int y; +} Point; + +typedef struct Map { + Point fruit; + unsigned int height; + unsigned int width; +} Map; + +Map createMap(unsigned int width, unsigned int height); + +#endif -- cgit v1.2.3