huiwang / codingame-scala-kit

Create Better CG Bot in Scala
23 stars 15 forks source link

Develop minimax algorithm #9

Open huiwang opened 7 years ago

huiwang commented 7 years ago

Both Caribbean and Code4life winner strategy are based on minimax algo.

https://github.com/Agade09/Agade-Code-4-Life-Postmortem/blob/master/Agade_C4L_Postmortem.md

https://recursive.cc/blog/coders-of-the-carribean-post-mortem.html

TODO :

tyrcho commented 7 years ago

26

huiwang commented 7 years ago

@tyrcho I realized that what you've implemented is actually a negamax algo. Is it right?

tyrcho commented 7 years ago

Yep, this is the alpha beta optimization of negamax.