Skip to content

Fast-track winning or blocking moves #1

@tjguk

Description

@tjguk

At present the computer player will prioritise winning or blocking moves, but in fact if either is found (in that order) then there's no reason to continue looking at any other line.

A possible approach might be to factor out the line selection to a separate function which will fast return if a winner or blocker is found. Other than that it can continue to score lines and return the best

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions