Open RandomUsernameThatIsNotYetTaken opened 1 year ago
Well the random color is just that - random. It doesn't check if similar colors are present on the board. So this happens sometimes. Bad luck =).
I can leave this issue open in case someone wants to improve the logic of color selection. But personally I can live with how it is =).
@gereleth I'll try and create a PR for this then. For something I start my day with everyday, I might as wel start helping out.
Can resolve this by assigning an incrementing ID to each group of connected pipes. Colours can then be assigned based off of the ID, with sufficient colours for expected IDs. Also can eliminate colouring single cell groups after a rotation, as this doesn't aid the solve, and will take up colours for other groups. A separate approach could be to only highlight the previously interacted group (this could just be an additional setting too if wanted).
Another example I saw today
See attached image, there are 2 separate parts in (almost) identical green colour.
Seems the randomisation screwed up?