Refactor #26

Merged
rektdie merged 11 commits from refactor into main 2025-03-21 10:52:24 +01:00
Showing only changes of commit 23e1f8a165 - Show all commits
+2 -1
View File
@@ -1,5 +1,6 @@
#pragma once
#include <array>
#include <string_view>
#include <iostream>
#include "types.h"
@@ -14,7 +15,7 @@ enum MOVE_FLAGS {
knightPromoCapture, bishopPromoCapture, rookPromoCapture, queenPromoCapture
};
constexpr std::array<const char*, 14> moveTypes {
constexpr std::array<std::string_view, 14> moveTypes {
"quiet", "doublePawnPush",
"kingCastle", "QueenCastle",
"capture", "epCapture",