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

Fix MCTS pt. 1 #15

Merged
merged 6 commits into from
Oct 31, 2023
Merged

Fix MCTS pt. 1 #15

merged 6 commits into from
Oct 31, 2023

Conversation

AlexanderNorup
Copy link
Owner

This PR adds better an improved MCTS algorithm. Fixes lots of issues. Too many to describe here. Have a look at the code.

This PR also adds some toString() methods that make debugging much easier. It also adds some verbose logging to MCTS that shows the result of the algorithm in the console.

At last, this PR solves #8

Copy link
Collaborator

@VictorABoye VictorABoye left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice changes, though the change to MAX_SIMULATE_DEPTH confused me a bit since it seems pretty shallow compared with minimax depth

@VictorABoye VictorABoye merged commit e3454ee into master Oct 31, 2023
@AlexanderNorup AlexanderNorup deleted the an/fix-mcts branch October 31, 2023 18:30
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.

Catch IllegalStateExceptions in BattleSimulation
2 participants