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

Make selection of color for computer more intelligent #1

Open
ThirtySomething opened this issue Mar 10, 2017 · 2 comments
Open

Make selection of color for computer more intelligent #1

ThirtySomething opened this issue Mar 10, 2017 · 2 comments
Assignees

Comments

@ThirtySomething
Copy link
Owner

Check surrounding cells, collect their colors and select random one of these.

@ThirtySomething ThirtySomething self-assigned this Mar 12, 2017
@ThirtySomething
Copy link
Owner Author

First using filter to exclude own color and color of opponent.

@ThirtySomething
Copy link
Owner Author

Pick color from cells with non-occupied neighbours. Better than the random color selection, but needs still some improvement. For example memorize cells where color is picked from.

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

1 participant