Skip to content

Instantly share code, notes, and snippets.

View solenum's full-sized avatar
🐢

solenum

🐢
View GitHub Profile
#include <inttypes.h>
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include <time.h>
// generation constants
#define CAVE_WIDTH 150
#define CAVE_HEIGHT 300
@solenum
solenum / dungeon.c
Created July 11, 2018 18:17
Worlds worst RL dungeon generator
/*
Generates a primitive dungeon/cave system thingy
by exezin, public domain, do what you want.
*/
#include <stdlib.h>
#include <stdio.h>
#include <time.h>
#include <math.h>