This article will teach you about the minimax algorithm and alpha-beta pruning, from a beginner's perspective.
You can like the mathspp page on Facebook so you never miss an update!