Skip to content

Commit

Permalink
release v2.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lukazsdev committed Jun 2, 2022
1 parent 6353812 commit 9c65362
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 4 deletions.
Binary file modified bin/horowitz.exe
Binary file not shown.
15 changes: 13 additions & 2 deletions src/chess.h
Original file line number Diff line number Diff line change
Expand Up @@ -169,9 +169,20 @@ static constexpr int NoHashEntry = 100000;
//static constexpr int PieceValueMG[6] = {126, 781, 825, 1276, 2538, 0};
//static constexpr int PieceValueEG[6] = {208, 854, 915, 1380, 2682, 0};

/*
const int PawnValue = S( 82, 144);
const int KnightValue = S( 426, 475);
const int BishopValue = S( 441, 510);
const int RookValue = S( 627, 803);
const int QueenValue = S(1292,1623);
const int KingValue = S( 0, 0);
*/

// material piece values for midgame and endgame
static constexpr int PieceValueMG[6] = {82, 337, 365, 625, 1125, 0};
static constexpr int PieceValueEG[6] = {94, 281, 297, 512, 936, 0};
static constexpr int PieceValueMG[6] = {82, 426, 441, 627, 1292, 0};
static constexpr int PieceValueEG[6] = {144, 475, 510, 803, 1623, 0};
//static constexpr int PieceValueMG[6] = {82, 337, 365, 625, 1125, 0};
//static constexpr int PieceValueEG[6] = {94, 281, 297, 512, 936, 0};
static constexpr int PieceValue[7] = {100, 300, 300, 500, 900, infinity, 0};

/**********************************\
Expand Down
4 changes: 3 additions & 1 deletion src/search.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@
#include <vector>
#include "search.h"

int LMRTable[64][64];
int LateMovePruningCounts[2][9];

void Search::scoreMoves(Moves& moveList) {
for (int index = 0; index < moveList.count; index++) {
Move move = moveList.moves[index];
Expand Down Expand Up @@ -89,7 +92,6 @@ void Search::enablePVScoring(Moves& moveList) {
}
}


void Search::ageHistoryTable() {
for (int sq1 = 0; sq1 < 64; sq1++) {
for (int sq2 = 0; sq2 < 64; sq2++) {
Expand Down
2 changes: 1 addition & 1 deletion src/uci.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include "tt.h"

// engine version
#define VERSION "v2.1.1"
#define VERSION "v2.2.0"

// main UCI loop
void UCIInterface::UCILoop() {
Expand Down
Binary file removed tests/horowitz.exe
Binary file not shown.

0 comments on commit 9c65362

Please sign in to comment.