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

            Bug ID: 478808
           Summary: Incorrect feedback for Mastermind level 8
    Classification: Applications
           Product: gcompris
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: jaz...@gmail.com
          Reporter: lc...@april.org
  Target Milestone: ---

Created attachment 164334
  --> https://bugs.kde.org/attachment.cgi?id=164334&action=edit
Guessing four times magenta, which is absent, the feedback should never contain
two pegs.

SUMMARY
At the level 8 of Mastermind (aka superbrain), two code pegs can be of a same
color.  If the child only uses that color once and correctly guesses one of the
two positions, two key pegs in the feedback relate to the single time the color
is used: one black (what is correct) and another one white, which should not be
there, as far as I understand.

STEPS TO REPRODUCE
1. Launch the Mastermind (aka superbrain) activity and click the left arrow to
reach level 8.
2. Guessing one single color for all five positions, find one that is absent
(empty feedback) and another one that is present twice (two black pegs in the
feedback).
3. Guess one single time the color present twice and the absent color for the
other four positions.

OBSERVED RESULT
The feedback is one black peg and one white peg if (only) one of the positions
of the duplicated color is correctly guessed (otherwise the feedback is
correct, one single white peg, and another position can be tried to demonstrate
the bug).

EXPECTED RESULT
One black peg and no white peg.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Trisquel 11 (based on Ubuntu 22.04)

ADDITIONAL INFORMATION
Running bin/gcompris-qt.sh installed from
https://download.kde.org/stable/gcompris/qt/linux/gcompris-qt-3.3-Linux64.sh

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

Reply via email to