Skip to content

Fox Prince: Dynamic Trial Count - #154

Open
ScipioWright wants to merge 2 commits into
silent-destroyer:mainfrom
ScipioWright:early-out-late-game
Open

Fox Prince: Dynamic Trial Count#154
ScipioWright wants to merge 2 commits into
silent-destroyer:mainfrom
ScipioWright:early-out-late-game

Conversation

@ScipioWright

Copy link
Copy Markdown
Contributor

This makes it so that the max number of trials it'll run when finding portals is 5 * the number of potentially valid portals left in the pool + 20.

"Potentially valid portals left in the pool" means any portal for non-direction pairs, and means the number of opposite-direction portals for direction pairs.

Also gave it an even earlier out if the number of potentially valid portals in the pool equals the number of portals that have been confirmed for the pick 3, so that it just runs a little smoother when you have 1 or 2 valid choices for a portal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant