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

            Bug ID: 504917
           Summary: Shuffling has the chance of generating a solved puzzle
    Classification: Plasma
           Product: plasmashell
      Version First 6.3.5
       Reported In:
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Fifteen Puzzle widget
          Assignee: plasma-b...@kde.org
          Reporter: janbidle...@protonmail.com
  Target Milestone: 1.0

SUMMARY
Shuffling the pieces has the chance of generating a solved puzzle. Which
defeats the point of shuffling.

STEPS TO REPRODUCE
1. Set grid size to 2
2. Click on the "shuffle" button until you have a grid that goes [1], [2], [3],
[ ]

OBSERVED RESULT
A solved grid.

EXPECTED RESULT
No solved grid. If for some reason the internal random generator generated a
solved grid, it should automatically reshuffle the board.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.3.5
KDE Frameworks Version: 6.14.0
Qt Version: 6.9.0
Kernel Version: 6.14.6-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 1600 Six-Core Processor
Memory: 15.6 GiB of RAM
Graphics Processor: AMD Radeon RX 570 Series
Manufacturer: Gigabyte Technology Co., Ltd.
Product Name: B450M DS3H

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to