Bug 348523 - Puzzles may have ambiguous solutions
Summary: Puzzles may have ambiguous solutions
Status: REOPENED
Alias: None
Product: picmi
Classification: Applications
Component: general (show other bugs)
Version: 2.0.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Jakob Gruber
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-31 21:02 UTC by Martin Walch
Modified: 2020-04-10 07:14 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
screenshot showing ambiuousness of puzzle's solution (727.22 KB, image/png)
2015-05-31 21:19 UTC, Martin Walch
Details
Screenshot of "hourglass" with all but the ambiguous part solved (775.25 KB, image/png)
2020-03-21 17:31 UTC, Byrial Jensen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Walch 2015-05-31 21:02:49 UTC
Games may have more than one valid solution.

It is debatable if this should be allowed to happen or not. However, at least the loadable game "Soccer" has also two solutions. I suppose this is undesirable.

In other words: at least the solutions for loadable games should be unambiguous.

Reproducible: Always
Comment 1 Martin Walch 2015-05-31 21:19:14 UTC
Created attachment 92944 [details]
screenshot showing ambiuousness of puzzle's solution
Comment 2 Jakob Gruber 2015-06-22 04:25:12 UTC
Sorry for the late reply, I was out of the country for a while. We did try to avoid having ambiguous solutions for the preset puzzles, looks like we must've missed one. Did you have a suggested fix for this particular one? 

I'm also fine with keeping this one as is since it's a minor difference and looks decent both ways.
Comment 3 Martin Walch 2015-07-13 09:26:58 UTC
(In reply to Jakob Gruber from comment #2)
> Did you have a suggested fix for this particular one?
After thinking about this for a while: how about filling the ball? I have not double checked it, but I suppose that the solution then becomes unambiguous.
Comment 4 Jakob Gruber 2015-07-15 09:20:28 UTC
Git commit 57254a4619ed8ff644bdcad041ebefde60405a24 by Jakob Gruber.
Committed on 15/07/2015 at 09:20.
Pushed by gruber into branch 'master'.

Fix an ambiguous solution to the soccer level

Bug report & fix idea by Martin Walch, thanks!

M  +2    -2    levels/default/soccer.xpm

http://commits.kde.org/picmi/57254a4619ed8ff644bdcad041ebefde60405a24
Comment 5 Byrial Jensen 2020-03-21 17:31:32 UTC
Created attachment 126929 [details]
Screenshot of "hourglass" with all but the ambiguous part solved

Also the puzzle "hourglass" is ambiguous. I attach a screenshot with all but 8 fields solved. It is easy to see that the remaining 8 fields can be solved in 2 ways due to symmetry. I am not 100 % sure, but the solution would probably be unique if e.g. highlighted field was filled instead of blank.
Comment 6 Jakob Gruber 2020-04-10 07:14:21 UTC
#5: Thanks for reporting. Next time please file a new bug since this is a different (though similar) issue to the one reported 5 years ago ;)