summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/main.c b/main.c
new file mode 100644
index 0000000..f1ec861
--- /dev/null
+++ b/main.c
@@ -0,0 +1,26 @@
+/* main.c
+ * Created: 2023-08-25
+ * Author: Aryadev Chavali
+ * Description: Entry point of program
+ */
+#include <stdio.h>
+
+#include <raylib.h>
+
+#define WIDTH 512
+#define HEIGHT 512
+
+int main(void)
+{
+ InitWindow(WIDTH, HEIGHT, "Abelian sand pile");
+ SetTargetFPS(60);
+ while (!WindowShouldClose())
+ {
+ BeginDrawing();
+ ClearBackground(BLACK);
+ DrawText("Hello, world!", 100, 100, 25, RAYWHITE);
+ EndDrawing();
+ }
+ CloseWindow();
+ return 0;
+}