#include <stdio.h>
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "esp/random.h"
#define MAX_ENEMIES 16384
#define CHUNK_COUNT 32
#define CHUNK_SIZE (65536 / CHUNK_COUNT)
int16_t random_int16() {
return esp_random();
}
typedef struct {
int16_t x, y;
} int16_vec2_t;
typedef int16_vec2_t enemy_t;
typedef struct {
enemy_t* enemies;
uint16_t count;
} enemy _chunk_t;
void app_main() {
}