KyleDSwarner / puzzles-reloaded

MIT License
5 stars 0 forks source link

BUG: Dots disappear/reappear in Clusters #13

Closed themowski closed 2 months ago

themowski commented 2 months ago

iPhone model: 13 mini iOS version: 17.6.1 App version: 1.2.1

When playing Clusters, the dots on the pre-identified blocks with only one neighbor of the same color sometimes disappear after you place a block of the wrong color next to them. It seems that the logic that marks the (dotted) block as invalid & draws a red border on the dotted block is incorrectly clearing out the dot when the invalid state is resolved.

This is probably an upstream issue, but I haven't built/played the x-sheep puzzles so I can't say for sure.

Steps to reproduce (should be pretty reliable):

  1. Start a small game of Clusters. I use size 5x5.
  2. Pick a red block with a dot on it, ideally in a corner.
  3. Make all of the boxes adjacent to the red dot block blue via single-tapping. The red block should get a red "invalid" border.
  4. Tap one of the blue boxes to make it red. The dot on the red center block disappears.

This also works with blue boxes, although it seems slightly less consistent than with red boxes.

KyleDSwarner commented 2 months ago

Thanks - I can indeed reproduce this with your steps!

Similar to #11 this is likely something I'll need to fix upstream - I'll take a look!

KyleDSwarner commented 2 months ago

This is a rendering defect related to the same discussion as in #11 and will be fixed in release 1.3.

KyleDSwarner commented 2 months ago

Issue fixed in 1.3 and released to app store. Closing as complete!