1
0
mirror of https://github.com/tiyn/yeschess.git synced 2025-10-15 12:31:16 +02:00

engine: engine now correctly uses the negamax algorithm

NegaMax is a simplified version of the MiniMax algorithm that
doesn't need different subroutines for the different colors.
The testcases were selected and extended.
Evaluation now has values for draws and wins.
This commit is contained in:
TiynGER
2021-05-01 01:58:26 +02:00
parent 9ea20b6c1f
commit 9095cf8eee
3 changed files with 83 additions and 56 deletions

View File

@@ -38,4 +38,4 @@ Due to easier off the board checking a
### Engine
The engine uses a simple implementation of the
[Minimax](https://www.chessprogramming.org/Minimax)-algorithm.
[NegaMax](https://www.chessprogramming.org/NegaMax)-algorithm.