summaryrefslogtreecommitdiff
path: root/main.c
blob: f1ec861209f07b254eb3426a56318d6978ae5493 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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;
}