From d5bd5cd2a51161539fb8fdb8cfeeca5dada01098 Mon Sep 17 00:00:00 2001 From: Skolin Date: Wed, 20 Sep 2023 21:21:07 +0200 Subject: [PATCH] remove unneccessary variables --- Chess-Challenge/src/My Bot/MyBot.cs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Chess-Challenge/src/My Bot/MyBot.cs b/Chess-Challenge/src/My Bot/MyBot.cs index ff7081c..e8b2021 100644 --- a/Chess-Challenge/src/My Bot/MyBot.cs +++ b/Chess-Challenge/src/My Bot/MyBot.cs @@ -175,10 +175,6 @@ int AlphaBeta(int depth, int alpha, int beta, bool needsEval, int mgScore, int e bool inQSearch = depth <= 0; - int prevMg = mgScore; - int prevEg = egScore; - int prevPh = phase; - if (needsEval) { // Static evaluation using Piece-Square Tables (https://www.chessprogramming.org/Piece-Square_Tables)