summaryrefslogtreecommitdiff
path: root/map.h
diff options
context:
space:
mode:
authorMatheus <matheus.guedes.mg.m@gmail.com>2025-10-19 14:52:49 -0300
committerMatheus <matheus.guedes.mg.m@gmail.com>2025-10-19 14:52:49 -0300
commitc100e56944590985ed8ecbdcbc5f0d27b6542767 (patch)
tree9488c54256350055ee15592a0a573b8c5e86ef91 /map.h
parenta38868de0918da3979d2f7115f9164c979a48346 (diff)
feat:the game
Kinda forgot commit.
Diffstat (limited to 'map.h')
-rw-r--r--map.h17
1 files changed, 17 insertions, 0 deletions
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