Dungeon of the Mad Mage must be reworked due infintite choose dialog
- Dominant language
- Java
- Stars
- 2.4k
- Forks
- 940
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 160
Description
> Exile the top two cards of your library. You may play them.
Current implementation of [[Dungeon of the Mad Mage]] uses infinite choose dialog to play 2 cards (I think the reason: user must choose order of the cards to play). It's freeze an AI game (#5023) on non playable cards (computer can't choose to stop to play and try again and again -- that's why all "infinite/while" cycles must removes card after each try).
So it must be reworked to direct flow dialogs. Example:
* choose card to play first (target 0..1, if 0 selected, then skip)
* try to play selected
* ask to play second card (with name)
* try to play last one
P.S. AI hint/logic can be added by command like `if (player.isComputer()) {...}`
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.