Skip to content

Conversation

@tedhyu
Copy link
Contributor

@tedhyu tedhyu commented Nov 11, 2025

Redid the findBestDefensiveMove.

Created four filters:
const AI_FILTER_HAND_SIZE_DIFFERENCE_ENABLED = 1;
const AI_FILTER_SCORING_OPP_ENABLED = 1;
const AI_FILTER_CHECK_DOUBLE_TRIPLE_ENABLED = 1;
const AI_FILTER_CHECK_FOR_TWO_THIRD_OPPORTUNITIES_ENABLED = 1;

Redid the logic for filtering.

Created four filter functions:
_filterHandSizeDifference
_filterScoringOpp
_filterCheckDoubleTriple
_filterCheckForTwoThirdOpportunities

Also, a helper function used in two of these:
countPlayerScoringPositions

Redid the findBestDefensiveMove.

Created four filters:
    const AI_FILTER_HAND_SIZE_DIFFERENCE_ENABLED = 1;
    const AI_FILTER_SCORING_OPP_ENABLED = 1;
    const AI_FILTER_CHECK_DOUBLE_TRIPLE_ENABLED = 1;
    const AI_FILTER_CHECK_FOR_TWO_THIRD_OPPORTUNITIES_ENABLED = 1;

Redid the logic for filtering.

Created four filter functions:
_filterHandSizeDifference
_filterScoringOpp
_filterCheckDoubleTriple
_filterCheckForTwoThirdOpportunities

Also, a helper function used in two of these:
countPlayerScoringPositions
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.

2 participants