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

Adjacent edges #15

Open
Garazbolg opened this issue Apr 25, 2022 · 1 comment
Open

Adjacent edges #15

Garazbolg opened this issue Apr 25, 2022 · 1 comment

Comments

@Garazbolg
Copy link

I think you mentionned not wanting 5.png (for circuit) to connect to itself even if it was in the right orientation, probably because it would make for really thin chips. The fix to that is to introduce another type of rule to propagate. I learned this when implementing the sudoku for weird rulesets like "knight move".

Basically you have to define if a tile can be adjacent to itself. If it isn't you should propagate that as well when you collapse a tile. Any tile adjacent to the tile we just placed cannot be the same tile.

@jakedowns
Copy link

i noticed this was well, thanks for the idea on how to prevent it
image

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