Fixed minimax function in Computer