Improved minimax, added alpha-beta pruning. Max feasible depth is around 3-4 (time constraints).