mirror of
https://codeberg.org/scip/golsky.git
synced 2025-12-17 04:30:57 +01:00
added C test
This commit is contained in:
15
various-tests/raygol/main.c
Normal file
15
various-tests/raygol/main.c
Normal file
@@ -0,0 +1,15 @@
|
||||
#include "game.h"
|
||||
#include "raylib.h"
|
||||
|
||||
int main(void) {
|
||||
Game *game = Init(800, 800, 10, 10, 8);
|
||||
|
||||
while (!WindowShouldClose()) {
|
||||
Update(game);
|
||||
Draw(game);
|
||||
}
|
||||
|
||||
CloseWindow();
|
||||
free(game);
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user