This commit is contained in:
rektdie authored and GitHub committed 2024-02-29 07:28:04 +01:00
1 parent 81e2f2f268
commit 38c2182dee
8 files changed
+215 -45

No files matched your search

+4 -5
View File
@@ -1,11 +1,10 @@
#pragma once
#include <cstdint>
#include <array>
#include <string>
typedef uint64_t U64;
using U64 = uint64_t;
#define StartingFen "rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1"
constexpr char StartingFen[] = "rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1";
enum COLOR {
White,
@@ -59,10 +58,10 @@ enum SQUARE {
enum DIRECTION {
north = 8,
west = 1,
east = 1,
south = -north,
east = -west,
west = -east,
noWe = north + west,
noEa = north + east,