Test random before choose
Closed this issue · 1 comments
peter1591 commented
Some special logics are introduces to deal with random choices
In current implementation, a random choice is moved conceptually to the end of a main-action-sequence.
After analysis, only one type of action can be happened after a random action. For example:
- Generate a random number
- Generate some choices, depending on the generated random number
- Ask player to choose one from the choices
All other sub-action types are not influenced by randoms.
But, the card ids of the user-choose options, might be determined by a random.
Need to write some tests to test the AI's ability to tackle this thing.
In real cards, this includes:
- Discover effect
- Adapt
peter1591 commented
Tested by card: I know a guy