From d679edb874762996bd88848f77dacb8603658143 Mon Sep 17 00:00:00 2001 From: Siamak Date: Fri, 10 Feb 2023 18:13:01 +0100 Subject: [PATCH] Bewegung Snake --- src/Move.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/Move.c diff --git a/src/Move.c b/src/Move.c new file mode 100644 index 0000000..3b47a17 --- /dev/null +++ b/src/Move.c @@ -0,0 +1,19 @@ +#define _CRT_SECURE_NO_WARNINGS +#define re return +#define s 10 +#define up 'w' +#define down 's' +#define right 'd' +#define left 'a' +#include + +enum directions +{ + up, down, left, right, +}; + +uint16_t curDirections = left; + +void move(void) { + +}