minimax with random a printing in simple ai