mirror of
https://github.com/Noratrieb/minmax.git
synced 2026-01-14 15:25:08 +01:00
because reasons
This commit is contained in:
parent
622180b8f1
commit
f4abe067e9
1 changed files with 0 additions and 1 deletions
|
|
@ -43,7 +43,6 @@ impl<G: Game> PerfectPlayer<G> {
|
||||||
) -> Score {
|
) -> Score {
|
||||||
// FIXME: Make depth decrease not increase.
|
// FIXME: Make depth decrease not increase.
|
||||||
if let Some(max_depth) = self.max_depth && depth >= max_depth {
|
if let Some(max_depth) = self.max_depth && depth >= max_depth {
|
||||||
// FIXME: Why do we have rate and result?
|
|
||||||
return board.rate(maximizing_player);
|
return board.rate(maximizing_player);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue