summaryrefslogtreecommitdiff
path: root/src/config.h
diff options
context:
space:
mode:
authoreug-vs <eugene@eug-vs.xyz>2022-08-19 18:28:20 +0300
committereug-vs <eugene@eug-vs.xyz>2022-08-19 18:28:20 +0300
commit7bdcd3c4c96ecef95d4cfc4874d134d0e136171f (patch)
tree6773b447da77a3cb53b4dcb6a21f792798efcb40 /src/config.h
parent41e71057469b84b189ceca5a868155f9fecc3d69 (diff)
downloadc-chess-7bdcd3c4c96ecef95d4cfc4874d134d0e136171f.tar.gz
feat: naively sort moves to improve branch pruning
Diffstat (limited to 'src/config.h')
-rw-r--r--src/config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/config.h b/src/config.h
index 67c9b0b..9273f0e 100644
--- a/src/config.h
+++ b/src/config.h
@@ -1,5 +1,6 @@
#define BOARD_SIZE 8
#define DEFAULT_FEN "rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1"
#define MAX_DEPTH 4
+#define MAX_AVAILABLE_MOVES 64 * 64
#define INFINITY 1000000
#define PLAYER WHITE