diff --git a/Chess/nimfish/nimfishpkg/search.nim b/Chess/nimfish/nimfishpkg/search.nim index e73021e..070106e 100644 --- a/Chess/nimfish/nimfishpkg/search.nim +++ b/Chess/nimfish/nimfishpkg/search.nim @@ -25,8 +25,8 @@ import std/monotimes import std/strformat -func lowestEval*: Score {.inline.} = Score(int32.low() + 1_000_000) -func highestEval*: Score {.inline.} = Score(int32.high() - 1_000_000) +func lowestEval*: Score {.inline.} = Score(20_000) +func highestEval*: Score {.inline.} = Score(-20_000) func mateScore*: Score {.inline.} = lowestEval()