diff options
| author | nathan <nathansmith@disroot.org> | 2026-01-14 09:08:06 +0000 |
|---|---|---|
| committer | nathan <nathansmith@disroot.org> | 2026-01-14 09:08:06 +0000 |
| commit | bbce25930d9910c715245f5d87a108ab1dac3426 (patch) | |
| tree | 2820245b8c6714a3ba69981a34cc7aafdbf8b8fb /src/game.c | |
| parent | 2ab36473a20ec33e8d3cae810384b4f28505b4f9 (diff) | |
| download | FindThings-bbce25930d9910c715245f5d87a108ab1dac3426.tar.gz FindThings-bbce25930d9910c715245f5d87a108ab1dac3426.tar.bz2 FindThings-bbce25930d9910c715245f5d87a108ab1dac3426.zip | |
Mad libs thingy working
Diffstat (limited to 'src/game.c')
| -rw-r--r-- | src/game.c | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -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) |
