From ae45941a786aa88a9a5d78e9c690b0cb49368a89 Mon Sep 17 00:00:00 2001 From: david Date: Sun, 4 Oct 2026 18:22:55 -0300 Subject: [PATCH] hi --- games/gamecatch.c | 5 ----- games/gameclicker.c | 8 -------- games/gameguess.c | 6 ------ games/gamemaze.c | 5 ----- games/gamerace.c | 18 ++++++++++++++++++ rat.h | 7 +++++++ 6 files changed, 25 insertions(+), 24 deletions(-) create mode 100644 games/gamerace.c diff --git a/games/gamecatch.c b/games/gamecatch.c index a1328d5..299e39f 100644 --- a/games/gamecatch.c +++ b/games/gamecatch.c @@ -1,8 +1,3 @@ -#include -#include -#include -#include -#include #include "../rat.h" /* diff --git a/games/gameclicker.c b/games/gameclicker.c index a27e2a2..0d21273 100644 --- a/games/gameclicker.c +++ b/games/gameclicker.c @@ -1,11 +1,3 @@ -#include -#include -#include -#include -#include -#include -#include -#include #include "../rat.h" /* diff --git a/games/gameguess.c b/games/gameguess.c index 47a0be9..86c6a26 100644 --- a/games/gameguess.c +++ b/games/gameguess.c @@ -1,9 +1,3 @@ -#include -#include -#include -#include -#include -#include #include "../rat.h" #define maxhistory 4 diff --git a/games/gamemaze.c b/games/gamemaze.c index 37ca3b9..41bdd44 100644 --- a/games/gamemaze.c +++ b/games/gamemaze.c @@ -1,8 +1,3 @@ -#include -#include -#include -#include -#include #include "../rat.h" /* diff --git a/games/gamerace.c b/games/gamerace.c new file mode 100644 index 0000000..1b3244a --- /dev/null +++ b/games/gamerace.c @@ -0,0 +1,18 @@ +#include "../rat.h" + +static int running; + + +static void stop() { + clear(); + refresh(); + endwin(); + running = 0; +} + + +void ratrace(){ + + + +} diff --git a/rat.h b/rat.h index 4093af1..fae1d2d 100644 --- a/rat.h +++ b/rat.h @@ -1,7 +1,14 @@ #ifndef rat_h #define rat_h +#include +#include +#include +#include +#include +#include #include +#include typedef struct { float hunger;