Public bug reported:

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[i]->point_cards == 14 && player[i]->score_round == 26) 
    player[i]->score_total -= player[i]->score_round;
else if (player[i]->point_cards == 14 && player[i]->score_round == 16) 
    player[i]->score_total -= 36; /* shot with the bonus */
else
    player[i]->score_total += player[i]->score_round;

** Affects: gnome-hearts (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed


** Tags: bitesize

-- 
Shooting the moon with the bonus diamond results in incorrect scoring
https://bugs.launchpad.net/bugs/114893
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to