#pragma once #include #include "../window/colour.h" // stores the data used in the game #define COLUMNS ((uint8_t)10) #define ROWS ((uint8_t)(COLUMNS * 2)) typedef struct { Colour columns[COLUMNS]; } Row; typedef struct { Row row[ROWS]; } GameData; // updates the game's state void game_update(GameData* game_data, const uint8_t* keys);