OpenFool icon indicating copy to clipboard operation
OpenFool copied to clipboard

Non-team mode freezes on draw

Open fegeleiner opened this issue 6 years ago • 8 comments

In non-team mode, successfully defending the last attack causes the game to freeze.

fegeleiner avatar Sep 10 '19 03:09 fegeleiner

Under what circumstances does this happen? Please, give more detailed explanation (to allow the issue be easily reproduced).

trolley813 avatar Sep 12 '19 07:09 trolley813

Was observed in 3 player mode for sure. Say last 2 players have 1 card each, and the attack is beaten (therefore should be a draw). Draw is correctly handled in 4-player team mode if that helps.

0.2.9 on Android from F-Droid.

fegeleiner avatar Sep 12 '19 07:09 fegeleiner

screenshot_20181004-200745

ildar avatar Sep 12 '19 08:09 ildar

The end of the game. Two players left with even number of cards. One attacks, another successfully defends. Game hangs.

ildar avatar Sep 12 '19 08:09 ildar

Thanks! Will start working on it.

trolley813 avatar Sep 12 '19 09:09 trolley813

Confirmed. Starting investigation (but it's hard to reproduce since the games rarely end in a draw).

trolley813 avatar Sep 14 '19 15:09 trolley813

Confirmed. Starting investigation (but it's hard to reproduce since the games rarely end in a draw).

Surely for you it would be easier to initialize the game with the required state?

fegeleiner avatar Sep 15 '19 03:09 fegeleiner

Probably yes, but a kind of 'debug mode' has to be added for it. Thanks for suggestion, it would be a useful feature.

trolley813 avatar Sep 16 '19 08:09 trolley813