Move class + full board print function

This commit is contained in:
rektdie committed 2024-03-21 11:57:40 +01:00
1 parent ec8e4cf0a6
commit d0d7af4a79
5 files changed
+57

No files matched your search

+11
View File
@@ -1,6 +1,17 @@
#pragma once
#include "bitboards.h"
struct Move {
public:
SQUARE moveFrom;
SQUARE moveTo;
Move(const SQUARE from, const SQUARE to)
: moveFrom(from), moveTo(to) {}
};
void doMove(Move move);
// bishop relevant occupancy bit count
constexpr int bishopRelevantBits[64] = {
6, 5, 5, 5, 5, 5, 5, 6,