add comment about minimax

This commit is contained in:
Simon Gardling 2025-03-04 14:38:35 -05:00
parent 3341b1b411
commit 1b9c1eeda7
Signed by: titaniumtown
GPG Key ID: 9AB28AC10ECE533D

View File

@ -291,6 +291,7 @@ impl FutureMoves {
self.arena[x]
.children
.iter()
// this would be considered `minimax`
.max_by_key(|&&idx| self.arena[idx].value)
})
.inspect(|&&x| {