RatChess/headers/types.h
2025-07-01 02:16:44 -04:00

27 lines
394 B
C

#ifndef TYPES_H
#define TYPES_H
#include <stdbool.h>
typedef struct {
unsigned long long pawns;
unsigned long long knights;
unsigned long long bishops;
unsigned long long rooks;
unsigned long long queen;
unsigned long long king;
} sets;
typedef struct {
sets white;
sets black;
bool whiteToMove;
} game;
typedef struct {
int From;
int To;
char Promo;
} move;
#endif