summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
new file mode 100644
index 0000000..73ec76c
--- /dev/null
+++ b/src/main.c
@@ -0,0 +1,22 @@
+#include "raylib.h"
+
+const int screenWidth = 800;
+const int screenHeight = 450;
+
+int main(void) {
+ InitWindow(screenWidth, screenHeight, "dungeon generation");
+ SetTargetFPS(60);
+
+ while (!WindowShouldClose()) {
+
+ BeginDrawing();
+ ClearBackground(GRAY);
+
+ EndDrawing();
+
+ }
+
+ CloseWindow();
+
+ return 0;
+}