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

feature idea: AI-about-to-win warning #14

Open
simondorfman opened this issue Dec 27, 2018 · 4 comments
Open

feature idea: AI-about-to-win warning #14

simondorfman opened this issue Dec 27, 2018 · 4 comments
Assignees
Labels
engine Computer AI interface User interface

Comments

@simondorfman
Copy link
Contributor

So I was playing against the impressive new Monte Carlo Beeline AI and I lost like this:

image

I didn't see it coming. So I was thinking, to give us humans a chance, add a feature to show when your opponent is one connection away from winning. Maybe even show two connections away from winning too. Or even three connections away.

Just an idea.

@skotz
Copy link
Owner

skotz commented Dec 27, 2018

This is the craziest path I've seen so far.

@skotz skotz added the interface User interface label Dec 27, 2018
@skotz skotz self-assigned this Dec 27, 2018
@simondorfman
Copy link
Contributor Author

thinking about this more, and with the current rules, more specifically, warn that the AI is about to win if:

  1. there are two empty spaces where, if the AI plays on those two spaces on its next two moves, it will win
  2. on human player's first turn, after growth happens, if there will be two empty spaces where, if the AI plays on those two spaces on its next two moves, it will win

@simondorfman
Copy link
Contributor Author

I think this warning would also be nice to have in human-vs.-human games.

@skotz
Copy link
Owner

skotz commented Jan 20, 2020

Likely this would need to be implemented as "is it possible for your opponent to win after a move-growth-move" instead of trying to analyze empty spaces. Essentially I would run an AI behind the scenes with a max depth of 4 (your move and then your opponent's 3 moves) to see if there's a forced win that could be avoided by selecting the correct move on your part.

@skotz skotz added the engine Computer AI label Jan 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
engine Computer AI interface User interface
Projects
None yet
Development

No branches or pull requests

2 participants