Bug 197028 - The game states there are no more moves even if there are
Summary: The game states there are no more moves even if there are
Status: RESOLVED WORKSFORME
Alias: None
Product: kdiamond
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Fedora RPMs Unspecified
: NOR normal
Target Milestone: ---
Assignee: Stefan Majewsky
URL:
Keywords:
: 242198 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-06-18 17:03 UTC by Piotr Piotrowski
Modified: 2023-01-30 05:06 UTC (History)
3 users (show)

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


Attachments
Screenshot of finished game with moves left (357.80 KB, image/png)
2009-12-10 23:10 UTC, Piotr Piotrowski
Details
Incorrect hints (1st screenshot) (421.08 KB, image/png)
2010-06-02 00:22 UTC, Piotr Piotrowski
Details
Incorrect hints (2nd screenshot) (421.16 KB, image/png)
2010-06-02 00:23 UTC, Piotr Piotrowski
Details
Incorrect hints (3rd screenshot) (421.43 KB, image/png)
2010-06-02 00:24 UTC, Piotr Piotrowski
Details
snapshot of the problem (46 bytes, text/plain)
2013-06-19 21:19 UTC, Tomas Jankovic
Details
snapshot of the problem (171.89 KB, image/png)
2013-06-19 21:22 UTC, Tomas Jankovic
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Piotrowski 2009-06-18 17:03:07 UTC
Version:            (using KDE 4.2.3)
Installed from:    Fedora RPMs

Sometimes the game states that there are no more moves and ends the game even if I see there are some moves. This seems like a race condition. It usually happens if one move produces an "avalanche of moves" - the game ends even before all the moves are finished. Is checking for more moves done in a separate thread?
Comment 1 Stefan Majewsky 2009-06-18 17:16:07 UTC
Threading certainly is not the problem: The game has a job queue internally, where a calculation job is scheduled when no moves can be made any more. It might be that an error is inside this queueing. I doubt I will be able to investigate this before the 4.3 release.
Comment 2 Stefan Majewsky 2009-12-09 18:25:37 UTC
Sorry for not coming back to this problem again. If you run into this problem again, could you please post a screenshot? It might be that the code that searches for possible moves is missing some possible constellations.
Comment 3 Piotr Piotrowski 2009-12-10 23:10:46 UTC
Created attachment 38974 [details]
Screenshot of finished game with moves left
Comment 4 Piotr Piotrowski 2010-06-02 00:22:27 UTC
Created attachment 47577 [details]
Incorrect hints (1st screenshot)

I have just encountered a situation where there are no more moves (I cannot see them at least) and the game says there are 3 moves left. The 3 hints concerning the possible moves are incorrect. I guess this bug might have the same origin as my original report.
Comment 5 Piotr Piotrowski 2010-06-02 00:23:59 UTC
Created attachment 47578 [details]
Incorrect hints (2nd screenshot)
Comment 6 Piotr Piotrowski 2010-06-02 00:24:59 UTC
Created attachment 47579 [details]
Incorrect hints (3rd screenshot)
Comment 7 Stefan Majewsky 2010-06-20 12:02:34 UTC
*** Bug 242198 has been marked as a duplicate of this bug. ***
Comment 8 Stefan Majewsky 2010-06-20 12:06:01 UTC
I have checked the code again, but I cannot see any error in the move counting code.
Comment 9 Tomas Jankovic 2013-06-19 21:19:22 UTC
Created attachment 80649 [details]
snapshot of the problem
Comment 10 Tomas Jankovic 2013-06-19 21:22:25 UTC
Created attachment 80650 [details]
snapshot of the problem

sorry for previous bad insertion of an attachment
Comment 11 Christoph Feck 2013-06-28 12:21:15 UTC
Could be caused by the animations, i.e. during the animation, no moves are possible, but once it settled, there are.

A similar bug can sometimes be seen in ksame.
Comment 12 Andrew Crouthamel 2018-11-10 03:11:43 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 13 Andrew Crouthamel 2018-11-20 03:58:28 UTC
Dear Bug Submitter,

This is a reminder that this bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? This bug will be moved back to REPORTED Status for manual review later, which may take a while. If you are able to, please lend us a hand.

Thank you for helping us make KDE software even better for everyone!
Comment 14 Justin Zobel 2022-12-31 00:24:25 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 15 Bug Janitor Service 2023-01-15 05:10:07 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 16 Bug Janitor Service 2023-01-30 05:06:51 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!