From bbce25930d9910c715245f5d87a108ab1dac3426 Mon Sep 17 00:00:00 2001 From: nathan Date: Wed, 14 Jan 2026 02:08:06 -0700 Subject: Mad libs thingy working --- src/game.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src/game.c') diff --git a/src/game.c b/src/game.c index 32a2153..ee1888c 100644 --- a/src/game.c +++ b/src/game.c @@ -1,6 +1,9 @@ #include "game.h" #include "utils.h" +#include "mad-libs.h" +#include "time.h" + void resetScreenScale(Game* game) { Texture texture = game->screen.render.texture; @@ -99,6 +102,16 @@ void initGame(Game* game) initInventory(&game->inventory, &game->settings); disableGameCursor(game); + + /* char randomWord[MAD_LIBS_MAX]; */ + /* getRandomMapLibsWord(randomWord, '@', -time(NULL)); */ + /* printf("word thingy: %s\n", randomWord); */ + + char randomThingy[512]; + mapLibs(randomThingy, "I bet your a @j @n who likes to @v to pay for @n", 512, + -time(NULL)); + printf("hehehe: %s\n", randomThingy); + } void updateMainMenuScene(Game* game) -- cgit v1.2.3