ntietz/ai-class — comment on commit ee80ea94636db360caa438c96266c4dbb3ec9736
File: final-project/Reversi/Strategies.hs line 61
By ntietz:

I'll talk to you in class today about why the original way this was written wouldn't work, but basically it's because alphabeta only evaluates the leaf nodes, so it will only rarely hit a corner or good region in that and taking one immediately does not significantly improve the score. On the other hand, this way of doing it will give you a permanent bonus for taking corners.