commit of hell

This commit is contained in:
2024-12-02 01:40:05 +01:00
parent edb7409e7f
commit 81272cbd38
3 changed files with 206 additions and 47 deletions

View File

@@ -1,20 +1,14 @@
enum chess_piece {
EMPTY = 0,
KING = 1,
QUEEN = 2,
ROOK = 3,
BISHOP = 4,
KNIGHT = 5,
PAWN = 6,
PIECE_COUNT,
};
#include <stdint.h>
#include <stddef.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdbool.h>
#include <string.h>
static bool board_equals(
#define SET_SIZE 4096
#define BOARD_SIZE 64
struct board_map {
};
typedef int_fast8_t piece_t;
typedef piece_t Board[BOARD_SIZE];