hanafuda/main.c
2025-02-01 05:36:42 -05:00

30 lines
532 B
C

#include <stdlib.h>
#include <stdio.h>
#include <stdbool.h>
#include <string.h>
#include <raylib.h>
#include "card.h"
char *text = "こんにちわ、 世界!";
int main(int argc, char** argv) {
InitWindow(800, 450, "Hanafuda Hachi-Hachi");
SetTargetFPS(60);
Card *c = malloc(sizeof(Card));
c->position = (Vector2) { 200, 200 };
while (!WindowShouldClose()) {
BeginDrawing();
ClearBackground(RAYWHITE);
draw_card(c);
EndDrawing();
}
CloseWindow();
return 0;
}