Shooting the moon with the bonus diamond results in incorrect scoring
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-hearts (Debian) |
Fix Released
|
Unknown
|
|||
gnome-hearts (Ubuntu) |
Fix Released
|
Wishlist
|
Emmet Hikory |
Bug Description
Binary package hint: gnome-hearts
When playing under the Omnibus or Omnibus alternative ruleset, taking all the cards results in a score of -16, rather than the expected -36. Either this should be documented in the help file (replace "You do not need to take this card when you "shoot the moon" with "Taking this card while shooting the moon will increase your score by 10 points instead of decreasing your score"), or the score calculation should be adjusted (near line 264 of hearts.c) such that the score is reduced by 26 or 36 points, dependent on the presence of the appropriate card. Perhaps something like:
if (player[
player[
else if (player[
player[
else
player[
Changed in gnome-hearts: | |
importance: | Undecided → Wishlist |
status: | Unconfirmed → Confirmed |
Changed in gnome-hearts: | |
status: | Fix Committed → Fix Released |
Changed in gnome-hearts: | |
status: | Fix Committed → Fix Released |
Changed in gnome-hearts: | |
status: | Unknown → Confirmed |
Changed in gnome-hearts: | |
status: | Confirmed → Fix Released |
As a newbie, this seems like a nice bug to fix.
I know basics about packaging, patching and C.
Could you give me some more advice. I would love to help fixing this bug, it would be my first one!!