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

A tictactoe solution #5

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

A tictactoe solution #5

wants to merge 3 commits into from

Conversation

kinghuang
Copy link

We believe the AI works. Didn't have enough time to fully test. Apologies for the one giant commit!

By Aiden and King.

We believe the AI works. Didn't have enough time to fully test.

By Aiden and King.
In scoring the possible future placements, reduce the score by 1 if the
opposite player wins. This tries to not only maximize the winning
paths, but minimize the paths where the opposite player has a high
chance of winning.

The opposing paths are weighted equally in this implementation.
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.

1 participant