refactor: research and fix target usage inside while cycles
- Dominant language
- Java
- Stars
- 2.4k
- Forks
- 940
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 160
Description
All "while" cycles with target usages must be researched and fixed due many potential problems:
* cards: make sure player can choose;
* cards: make sure player can response (not need if you add false choose result stop, see below);
* cards: make sure you stop on false choose (bug: dialog freeze on impossible targets or game freeze on leave player);
* AI: make sure each call will remove selected id from a possible list (bug: ai game freeze on protected/wrong possible targets);
Reg exp search:
* `while .+ischosen`
Code example to check:


Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.