finished changes to allow minimax to accept Board object