Bug 192313 - Non-unique solutions to KBlackbox
Summary: Non-unique solutions to KBlackbox
Status: RESOLVED DUPLICATE of bug 161042
Alias: None
Product: kblackbox
Classification: Applications
Component: general (other bugs)
Version First Reported In: 0.4
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Nicolas Roffet
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-11 11:49 UTC by MythTomes@gmail.com
Modified: 2009-05-27 17:30 UTC (History)
2 users (show)

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


Attachments
Screen shot of described bug. (355.39 KB, image/png)
2009-05-11 11:52 UTC, MythTomes@gmail.com
Details
You will note (I hope) that my solution is a correct one. (352.47 KB, image/png)
2009-05-13 03:11 UTC, MythTomes@gmail.com
Details

Note You need to log in before you can comment on or make changes to this bug.
Description MythTomes@gmail.com 2009-05-11 11:49:50 UTC
Version:           0.4.0 (using 4.2.2 (KDE 4.2.2), Kubuntu packages)
Compiler:          cc
OS:                Linux (i686) release 2.6.28-12-generic

I have been informed that I had an improper solution (several times) when my solution fulfilled all of the information obtained through the 'laser' shooting interface.  That is to say that your software's solution was correct but non-unique.  I found another equally accuurate solution but it was considered to be "wrong".  Please observe the attached screen shot./home/thomas/Desktop/Screenshot-KBlackBox.png
Comment 1 MythTomes@gmail.com 2009-05-11 11:52:48 UTC
Created attachment 33535 [details]
Screen shot of described bug.

You will note that mine is a valid solution.
Comment 2 MythTomes@gmail.com 2009-05-12 02:37:13 UTC
I am a member, albeit a new one.  I had to become one to post.  BTW just in case it matters, I am using Ubuntu Jaunty in terms of platform.  Likely not significant in that which I am reporting.

thanks
Comment 3 MythTomes@gmail.com 2009-05-13 03:11:46 UTC
Created attachment 33601 [details]
You will note (I hope) that my solution is a correct one.
Comment 4 MythTomes@gmail.com 2009-05-13 03:16:40 UTC
Here is another example of a correct solution that KBlackbox deems incorrect.  Perhaps this could be called a wish rather than a bug, but I think the software should be robust enough to check whether the solution fits the data (the laser beam results) rather than simply whether the player puts the orbs in the same locations as the program initially placed them. (I flunked human mind reading, never got to the machine level)  Then there are no worries about uniqueness of solution.  Also this, for the programer, is much simpler than assuring uniqueness.  Should just need to add a few lines of code.
Comment 5 Nicolas Roffet 2009-05-27 17:30:25 UTC
This is a know issue or wish of KBlackBox. There is already a bug related to that: 161042.

In fact, this is very complicated to solve. I don't see a nice way to do that. (The only idea I have is to write a kind of script to compute a list of predefined game scenarii. The script would randomly generate game scenarii, test all cases and keep only game scenarii with unique solutions...)

If you have any suggestion for an algorithm to identify unique solutions for KBlackBox, I'll be glad to implement it.

*** This bug has been marked as a duplicate of bug 161042 ***