Init commit

This commit is contained in:
Administrator 2024-02-22 10:34:16 +00:00
commit 83e6c9e1f0
41 changed files with 1455 additions and 0 deletions

View file

@ -0,0 +1,33 @@
#ifndef OBJECTS_H
#define OBJECTS_H
#include <ncurses.h>
#include "defines.h"
typedef struct
{
int x;
int y;
} player_pos;
typedef struct
{
char finish[BOARD_M + 2];
char ways[ROWS_MAP + 2][COLS_MAP + 2];
} board_t;
typedef struct
{
int score;
int level;
int speed;
int lives;
int won;
} game_stats_t;
typedef struct
{
char matrix[BANNER_N + 1][BANNER_M + 1];
} banner_t;
#endif