novendraap / androminion

Automatically exported from code.google.com/p/androminion
0 stars 0 forks source link

"Gain a card costing exactly N" hangs the game if there *were* cards costing N but aren't any more in the supply #553

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Play a game with Upgrade, Remake, or other cards that include the effect 
"gain a card costing exactly N".
2. Wait for there to be no cards available in the supply that cost exactly N. 
For example, if Silver is the only $3 card, and there are no Silver in the 
supply.
3. Play the card with the effect in (1) such that you would gain a $3 card. For 
example, play Upgrade, and trash an Estate.

I expected the game to immediately skip to the next step, like it does if you 
play an Upgrade and trash a Copper and there are no $1 cards in the game. 
Instead, it prompts me to select a card from the table that costs exactly $3 to 
gain, and hangs the game, since there are no $3 cards available to select.

I'm using Androminion 4.01 on Android 4.0.4.

This looks similar to Issue 98, but that issue is marked as fixed, so maybe 
this is different.

Original issue reported on code.google.com by iril...@gmail.com on 28 Mar 2013 at 8:42

GoogleCodeExporter commented 9 years ago
Easy to reproduce with Poor House and Upgrade in game, once the Poor House 
stack has run out, upgrading a copper leaves you stuck.

Original comment by sirdod...@gmail.com on 4 Apr 2013 at 5:05

GoogleCodeExporter commented 9 years ago
This issue is fixed in the current dev build, which you can get here:  
http://androminion.googlecode.com/svn/trunk/androminion/bin/androminion.apk

Original comment by August.D...@gmail.com on 7 Jun 2013 at 9:07