first draft of minimax with other methods