Working two player game, minimax in separate file