[kmahjongg] [Bug 381086] New: Undo allows to cheat (removal of blocked tiles)

Peter Ped Helcmanovsky bugzilla_noreply at kde.org
Sun Jun 11 04:35:47 BST 2017


https://bugs.kde.org/show_bug.cgi?id=381086

            Bug ID: 381086
           Summary: Undo allows to cheat (removal of blocked tiles)
           Product: kmahjongg
           Version: 0.9
          Platform: Neon Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: unassigned-bugs at kde.org
          Reporter: ped at 7gods.org
                CC: kde-games-bugs at kde.org
  Target Milestone: ---

Created attachment 106044
  --> https://bugs.kde.org/attachment.cgi?id=106044&action=edit
Screenshot of result after using the undo-cheat.

What I did:

1) Find some target pair which has one tile blocked (and blocked tiles are easy
to remove), and other free to select.

2) Play regularly to unblock the target pair (remove other tiles, which are
blocking it).

3) Select only the one tile of target pair, which was blocked previously in
step 1.

4) hit Undo as many times, as you need, to get back into the state 1). Now the
blocked tile is drawn as unselected, but the selection is still active.

5) select the other free tile of target pair => the blocked pair is removed
from the game (invalid move).

I'm attaching screenshot of result, I was able to remove two tiles in the
middle (while using Undo to restore all other removals).

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Unassigned-bugs mailing list