Invalid cards allowed to be played
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-hearts |
Fix Released
|
Medium
|
|||
gnome-hearts (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
Binary package hint: gnome-hearts
The game_is_
To reproduce:
Immediately after receiving 3 cards from another player, hover your mouse over any card. This card should be highlighted, signifying that it may be played. Click once to start the game. If you click again, you will play the card that your mouse is over, regardless of whether it may be played following the rules of Hearts.
Alternately:
After playing a card, hover your mouse over any other card that was playable on that trick. Click to move onto the next trick. If you click again, you will play the card that your mouse is over, regardless of whether it may be played following the rules of Hearts.
Changed in hearts: | |
status: | Unknown → Fix Released |
Changed in gnome-hearts: | |
status: | Triaged → Fix Released |
Changed in hearts: | |
importance: | Unknown → Medium |
After playing around with this glitch for a while, I ended up crashing the program. The output is below.
Traceback (most recent call last): gnome-hearts/ stock_ai. py", line 95, in play_card python2. 5/site- packages/ apport_ python_ hook.py" , line 71, in apport_excepthook 'PythonArgs' ] = '%r' % sys.argv
File "/usr/share/
return valid_cards[0]
IndexError: list index out of range
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/
pr[
AttributeError: 'module' object has no attribute 'argv'
Original exception was: gnome-hearts/ stock_ai. py", line 95, in play_card
Traceback (most recent call last):
File "/usr/share/
return valid_cards[0]
IndexError: list index out of range
** ERROR **: file player.c: line 120 (player_play): should not be reached
aborting...
Aborted