comparison color_game/main.c @ 61:9df5587cf23b

[Color game] It can compile on windows now.
author June Park <me@mrjunejune.com>
date Sat, 20 Dec 2025 21:07:34 -0500
parents e06bc03d9618
children fff1b048dda6
comparison
equal deleted inserted replaced
60:d64a8c189a77 61:9df5587cf23b
1 #include <stdio.h> 1 #include <stdio.h>
2 #include <stdlib.h> 2 #include <stdlib.h>
3 #include <time.h> 3 #include <time.h>
4 #include "dowa/dowa.h" 4 #include <math.h>
5 #include "third_party/raylib/include/raylib.h" 5 #include "third_party/raylib/include/raylib.h"
6
6 7
7 #define INIT_SCREEN_WIDTH 1200 8 #define INIT_SCREEN_WIDTH 1200
8 #define INIT_SCREEN_HEIGHT 700 9 #define INIT_SCREEN_HEIGHT 700
9 #define PLAYER_SPEED 200.0f 10 #define PLAYER_SPEED 200.0f
10 #define PLAYER_RADIUS 20.0f 11 #define PLAYER_RADIUS 20.0f