Bug 161042 - Several solutions, only one is accepted
Summary: Several solutions, only one is accepted
Status: ASSIGNED
Alias: None
Product: kblackbox
Classification: Applications
Component: general (other bugs)
Version First Reported In: 0.4
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Nicolas Roffet
URL:
Keywords:
: 192313 257516 268091 353450 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-04-19 23:35 UTC by Sune Vuorela
Modified: 2025-08-03 21:35 UTC (History)
11 users (show)

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


Attachments
screenshot of several solutios (156.70 KB, image/png)
2008-04-19 23:36 UTC, Sune Vuorela
Details
dual solution to medium degree game with only one accepted (417.51 KB, image/png)
2009-12-25 03:36 UTC, Paul Wakfer
Details
Very Hard - 2 solutions (380.88 KB, image/png)
2010-02-07 00:13 UTC, TomyLobo
Details
[PATCH] Fix bug #161042: Several solutions, only one is accepted (1.77 KB, patch)
2012-10-22 22:06 UTC, Renato
Details
Screenshot showing multiple solutions, with a correct solution marked incorrect, in 20.12.2 (271.96 KB, image/png)
2021-03-09 20:18 UTC, contact
Details
screenshot in 24.12.2 (238.60 KB, image/png)
2025-02-07 10:27 UTC, MCJE114
Details
another screenshot in 24.12.2 (249.12 KB, image/png)
2025-02-07 10:32 UTC, MCJE114
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sune Vuorela 2008-04-19 23:35:55 UTC
Version:            (using Devel)
Installed from:    Compiled sources

Hi!

Occasionally it seems like a game have several solutions, but only one is accepted.

Having all solutions accepted would be nice. I have attached a screenshot of one game (I have encountered several  ..)
Comment 1 Sune Vuorela 2008-04-19 23:36:35 UTC
Created attachment 24418 [details]
screenshot of several solutios
Comment 2 Nicolas Roffet 2008-04-21 11:28:45 UTC
I'll try to provide a game option to avoid this.
Comment 3 cxcxcxcx 2009-02-28 11:15:02 UTC
I am also trapped by this bug. I worked ten minutes for the 20x12 box, and get an "Wrong answer" while my answer is just ok~
Comment 4 Nicolas Roffet 2009-05-27 17:30:26 UTC
*** Bug 192313 has been marked as a duplicate of this bug. ***
Comment 5 frozen_dude 2009-11-30 17:49:14 UTC
Man this goes against everything GNU stands for.
Like dude! If there where to be only one solution to a given problem, GNU would not be _like_ UNIX, it would _be_ UNIX..
I would vote for this to be raised to critical severity, for as it stands now, KBlackbox IS unplayable.
Comment 6 Paul Wakfer 2009-12-25 03:36:54 UTC
Created attachment 39322 [details]
dual solution to medium degree game with only one accepted
Comment 7 disabled account 2010-01-21 04:40:11 UTC
Is still someone working on this? Changing from wishlist to bug.
Comment 8 TomyLobo 2010-02-07 00:13:25 UTC
Created attachment 40572 [details]
Very Hard - 2 solutions

first time I solved Very Hard and then this...
Comment 9 Christoph Feck 2012-01-06 00:24:45 UTC
*** Bug 257516 has been marked as a duplicate of this bug. ***
Comment 10 Christoph Feck 2012-01-06 00:25:06 UTC
*** Bug 268091 has been marked as a duplicate of this bug. ***
Comment 11 Renato 2012-10-22 22:06:14 UTC
Created attachment 74738 [details]
[PATCH] Fix bug #161042: Several solutions, only one is accepted

Now instead of comparing the positions of the balls with the target
solution, it compares the outgoing positions of each border position to
that of the target board.
Comment 12 Renato 2012-10-22 22:09:46 UTC
I attached a tentative patch to this bug. It still marks "wrong" balls with red x's and so on, but it calculates the score correctly now, so the game is playable. I have no experience at all with c++, so please do check if I used correct style and so on.
Comment 13 Justin Zobel 2021-03-09 06:30:00 UTC
Thank you for the bug report.

As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists.

If this bug is no longer persisting or relevant please change the status to resolved.
Comment 14 contact 2021-03-09 20:18:00 UTC
Created attachment 136538 [details]
Screenshot showing multiple solutions, with a correct solution marked incorrect, in 20.12.2

Yes, it still happens. I've attached a screenshot showing it, in version 20.12.2 (openSUSE Tumbleweed).
Comment 15 MCJE114 2025-02-07 10:27:53 UTC
Created attachment 178043 [details]
screenshot in 24.12.2
Comment 16 MCJE114 2025-02-07 10:32:19 UTC
Created attachment 178044 [details]
another screenshot in 24.12.2
Comment 17 Albert Astals Cid 2025-08-03 21:35:06 UTC
*** Bug 353450 has been marked as a duplicate of this bug. ***