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

Faster AI possible? #32

Open
ClasherKasten opened this issue Sep 24, 2022 · 3 comments
Open

Faster AI possible? #32

ClasherKasten opened this issue Sep 24, 2022 · 3 comments
Assignees
Labels
enhancement hacktoberfest Label for Hacktoberfest issues

Comments

@ClasherKasten
Copy link
Collaborator

For the information how the AI works right now, please look at this article.

It would be kinda interesting to research if there are other (faster, more efficient) ways.
And if there are such ways, then we could implement them.

For question or answers to this task, just leave a comment or create a new issue. If there are any other questions or so, please open an issue.

@ClasherKasten ClasherKasten added enhancement hacktoberfest Label for Hacktoberfest issues labels Sep 24, 2022
@marcusbuffett
Copy link
Owner

I think there could be significant gains by changing how the chessboard is stored. I remember trying to improve the performance of this, and most of the time is spent on making and undoing moves as you go through the tree. I think performant implementations of this use bitboards ( https://www.chessprogramming.org/Bitboards ). Maybe something to look into.

@marcusbuffett
Copy link
Owner

Oh also definitely some sort of pruning, maybe alpha-beta: https://en.wikipedia.org/wiki/Alpha%E2%80%93beta_pruning . Right now there's no pruning at all, which breaks down hard past 3 or 4 moves deep.

@ClasherKasten
Copy link
Collaborator Author

@marcusbuffett Cool that you already have done so much research about this. These are definitely some really valuable informations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement hacktoberfest Label for Hacktoberfest issues
Projects
None yet
Development

No branches or pull requests

2 participants