Add files via upload

This commit is contained in:
Coding with Tom
2025-01-12 22:08:14 +00:00
committed by GitHub
parent d348e81556
commit ce40298159
2 changed files with 740 additions and 0 deletions

724
C/Constants.c Normal file

File diff suppressed because one or more lines are too long

16
C/Constants.h Normal file
View File

@@ -0,0 +1,16 @@
#pragma once
extern const unsigned long long ROOK_ATTACKS[64][4096];
extern const unsigned long long BISHOP_ATTACKS[64][512];
extern const unsigned long long INBETWEEN_BITBOARDS[64][64];
extern const unsigned long long KING_ATTACKS[64];
extern const unsigned long long SQUARE_BBS[64];
extern const unsigned long long BISHOP_MASKS[64];
extern const unsigned long long ROOK_MAGIC_NUMBERS[64];
extern const unsigned long long BISHOP_MAGIC_NUMBERS[64];
extern const int BISHOP_REL_BITS[64];
extern const int ROOK_REL_BITS[64];
extern const unsigned long long ROOK_MASKS[64];
extern const unsigned long long WHITE_PAWN_ATTACKS[64];
extern const unsigned long long KNIGHT_ATTACKS[64];
extern const unsigned long long BLACK_PAWN_ATTACKS[64];