Skip to content

Commit

Permalink
remove unneccessary variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Skoolin committed Sep 20, 2023
1 parent 196cc6c commit d5bd5cd
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Chess-Challenge/src/My Bot/MyBot.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d5bd5cd

Please sign in to comment.