summaryrefslogtreecommitdiff
path: root/src/main.c
blob: 668d6a440fc87d05d48efb52e6596536b02a4d26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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;
}