summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPhysick <96335032+DegustatorPonos@users.noreply.github.com>2026-07-07 14:27:23 +0500
committerPhysick <96335032+DegustatorPonos@users.noreply.github.com>2026-07-07 14:27:23 +0500
commit69f10d7732cd30bc0aeadda96d92d50cea6b67c5 (patch)
tree6e6541c018cb9dfa3734e489f9c25d0765975975 /src
project init
Diffstat (limited to 'src')
-rw-r--r--src/main.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
new file mode 100644
index 0000000..668d6a4
--- /dev/null
+++ b/src/main.c
@@ -0,0 +1,19 @@
+#include <stdio.h>
+#include <raylib.h>
+
+int main(void) {
+ printf("Hello, world!\n");
+
+ InitWindow(800, 600, "Programming game");
+
+ SetTargetFPS(60);
+ while (!WindowShouldClose()) {
+ BeginDrawing();
+ ClearBackground(RED);
+ EndDrawing();
+ }
+
+ CloseWindow();
+
+ return 0;
+}