Bug 391630 - Mine count is incorrect sometimes (happened multiple times)
Summary: Mine count is incorrect sometimes (happened multiple times)
Status: RESOLVED NOT A BUG
Alias: None
Product: kmines
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Dmitry Suzdalev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-09 19:07 UTC by Expert Multimedia
Modified: 2018-03-17 10:38 UTC (History)
2 users (show)

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


Attachments
Count is incorrect near bottom (45.03 KB, image/jpeg)
2018-03-09 19:07 UTC, Expert Multimedia
Details
Issue remains in git 2018-03-30 (50.26 KB, image/png)
2018-03-16 19:31 UTC, Expert Multimedia
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Expert Multimedia 2018-03-09 19:07:30 UTC
Created attachment 111288 [details]
Count is incorrect near bottom

Count is incorrect (see attached screenshot):
x212121
33x3x_x
1xxx___
Should be (assuming only 3s are wrong):
x212121
34x4_?_
1xxx___
or (assuming multiple #s are wrong):
x211_11
34x31_x
1xxx1__
Comment 1 Albert Astals Cid 2018-03-09 21:40:12 UTC
What's the output of kmines -v ?

I don't understand your ASCII art, can you explain what it means?
Comment 2 Expert Multimedia 2018-03-15 17:22:50 UTC
$ kmines -v
kmines 4.0 (29 Jan 2015)

Explanation of ascii art:
number is a number
x is a mine
_ is a blank (unknown) space

These refer to the problem area on the bottom of the screen shot attached to the original report.
Comment 3 Expert Multimedia 2018-03-15 17:27:51 UTC
Sorry I don't have a later version. The version of kmines is the latest one in the Fedora 27 repo (sudo dnf upgrade says "Nothing to do."). I'll try recompiling from https://github.com/KDE/kmines
Comment 4 Expert Multimedia 2018-03-15 17:39:42 UTC
I cannot figure out how to compile--there is no autogen or other script, and ./configure, make, and qmake do nothing. There is no .pro file for qtcreator. I cannot find any guides online. The sourceforge project has tarballs, but they are 3 years old, though the GitHub "mirror" says modified one month ago. Do you have any clues?
Comment 5 Expert Multimedia 2018-03-16 19:31:52 UTC
Created attachment 111451 [details]
Issue remains in git 2018-03-30

The 2 NE (up, right) from the yellow mine clicked should be a 3
Comment 6 Expert Multimedia 2018-03-16 19:33:30 UTC
OK, I got it to compile but still the same issue occurs
(I added an additional screenshot, where the "2" NE (up, right) from the yellow mine clicked should be a "3")

#howto compile (discovered myself by trial and error):
sudo apt remove kmines
sudo apt install cmake extra-cmake-modules libkf5-plasma-dev libkf5iconthemes-dev libkf5plasma-dev libkf5windowsystem-dev libkf5declarative-dev libkf5xmlgui-dev libkf5activities-dev libkf5wayland-dev libkf5crash-dev libkf5newstuff-dev kdoctools-dev kde-games-core-declarative libkdegames-dev libkf5kdegames-dev
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local
make
sudo make install
Comment 7 Expert Multimedia 2018-03-16 19:39:48 UTC
Ignore previous comment and image "Issue remains in git 2018-03-30". I noticed the mines I was counting were ones with x's which means they weren't mines, but rather places I flagged mines incorrectly. The case is also the same with the first screenshot, so I'll say this bug in general is unconfirmed. If I get a screenshot that demonstrates there is a bug I'll post it.
Comment 8 Albert Astals Cid 2018-03-17 10:38:17 UTC
I'm actually going to close it as invalid.

Unconfirmed means something like "a user found a bug but noone else has been able to reproduce it yet", as far as i understand, in this case you didn't really find a bug, you just made a mistake playing.