Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Program arguments #56

Open
emwestin opened this issue May 3, 2019 · 0 comments
Open

Program arguments #56

emwestin opened this issue May 3, 2019 · 0 comments
Labels
enhancement New feature or request Medium This issue has a medium priority

Comments

@emwestin
Copy link
Collaborator

emwestin commented May 3, 2019

We should make use of program arguments in order to simplify testing. Some examples:

Flag Description
--opponent Who should play as the opponent (AI, HUMAN, RANDOM)
--player Who should play as the player (AI, HUMAN, RANDOM)
--ai-time-limit Max time in ms per move
--ai-start-depth Which depth to start from
--ai-max-depth Max depth allowed

If we would like to make the evaluation function modular, we could perhaps also support something like the following where some/all are enabled by default:

Flag Description
--eval-phases Split the evaluation function into multiple phases performing different strategies for each
--eval-weighted-moves Give each position a weight to favor some moves over others. For example, corners have high weights, x-corners have low weights
--eval-frontier Take frontier into consideration
--eval-endgame If the last move results in us winning, give the move a BIG evaluation score
@emwestin emwestin added enhancement New feature or request Medium This issue has a medium priority labels May 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Medium This issue has a medium priority
Projects
None yet
Development

No branches or pull requests

1 participant