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

Strange behavior of minimax in TTT #11

Open
Apache02 opened this issue Feb 19, 2018 · 1 comment
Open

Strange behavior of minimax in TTT #11

Apache02 opened this issue Feb 19, 2018 · 1 comment

Comments

@Apache02
Copy link

O = minimax

1       2       3       4       5       6       7       8
_|_|_   _|_|_   _|_|_   _|_|_   _|X|_   O|X|_   O|X|X   O|X|X
_|_|_   _|O|_   _|O|_   _|O|_   _|O|_   _|O|_   _|O|_   O|O|_
_|_|X   _|_|X   _|X|X   O|X|X   O|X|X   O|X|X   O|X|X   O|X|X

On the step 5 mimimax can win right NOW, but chose long 100% win way.

@beaucarnes
Copy link
Owner

Yes, this is a mistake in the code. Check out the code here for the fix: https://github.com/beaucarnes/fcc-project-tutorials/tree/master/tictactoe/improvements

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

No branches or pull requests

2 participants