Skip to content

Automatically detect "fail" scenario #25

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

Open
greno4ka opened this issue May 23, 2018 · 6 comments
Open

Automatically detect "fail" scenario #25

greno4ka opened this issue May 23, 2018 · 6 comments

Comments

@greno4ka
Copy link
Contributor

I think it's rather complex, but cool idea - to detect situations, when there is no solution to win the game. And program can draw a beautiful window with text "You're loser, lol, hahaha" or just "You lost"=)) But it will require some artificial intelligence.

@tisaconundrum2
Copy link

Not really artificial intelligence, but at least something to detect the state of the board and what is playable.

@greno4ka
Copy link
Contributor Author

Pull requests are welcome!

@mpereira
Copy link
Owner

Closed by #23.

@greno4ka
Copy link
Contributor Author

Hey? Reopen it please? We still don't detect fails! Only win situation is detected.

@mpereira
Copy link
Owner

Oops! My bad.

@mpereira mpereira reopened this Aug 13, 2018
@greno4ka
Copy link
Contributor Author

So, the main problem in this situation is that we can bring card from foundation stack to maneuvres. Or I can misunderstand the terminology. So first of all it can be useful to create feature something like "hint how can I move card". And here, as I think, we have a problem with function valid_move, that dont pass the tests=((

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

3 participants