Minimax search with apha-beta cuting