arxarian / kbang

Automatically exported from code.google.com/p/kbang
GNU General Public License v2.0
2 stars 1 forks source link

Use more than 1 Beer to save from death is not allowed #52

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
A lot of time I would like to verify this case but it was hard to 
reproduce. Finally it happened.

The Dynamite bursts on a player with 2 life point left. He goes to -1 life 
points needing TWO Beers to save himself.

Kbang does not code the use of a second Beer (and third etc.) to save from 
death. 

In the example the player was a sheriff and the game had the following 
unexpected conditions:

- the sheriff uses a first beer (shown life points 0)
- the sheriff uses a second beer (shown like points 0 !!)
- the game ends (probably after clicking 'pass' button)
- the sheriff draws two cards to play his 'normal' turn !!!
- the game remains stalled

Original issue reported on code.google.com by the.ut...@gmail.com on 2 Sep 2009 at 12:50

GoogleCodeExporter commented 9 years ago
Besides, Sid Ketchum MUST be able to use his ability more than once in similar 
case.
Not sure if he can, as I said it's hard to reproduce, it may happen only when 
Dynamite 
bursts. 

Original comment by the.ut...@gmail.com on 2 Sep 2009 at 1:52

GoogleCodeExporter commented 9 years ago
I always believed that this works well (I believe I managed to test it some 
time 
ago), but maybe I've introduced a bug when I was fixing others. I'm now working 
on 
refactoring of KBang sources, so it's better to fix this bug in new version 
(0.2.x).

Original comment by MacJar...@gmail.com on 4 Sep 2009 at 2:13