Minimax function has partial functionality (Perhaps working? Testing is the challenge here.)