RatChess/headers/types.h
2025-06-18 12:38:00 -04:00

26 lines
326 B
C

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