Kistaro Windrider
c30aca1f31
Better error management.
...
* "Uncooperative cards" is now a warning.
* Cards and actions get "Then" invoked before the card processor considers erroring out.
* Terminal UI: Errors and warnings from actions are displayed during the response; they're not only added to the temporary messages now.
2023-04-15 20:59:21 -07:00
Kistaro Windrider
65c01318f0
Fix UI urgency handling.
...
Only cards can block other cards or actions from being used due to urgency, so only display the `[URGENT!]` header for cards. Debug actions can't be blocked, so skip the "urgency conflict" check for those.
2023-04-15 19:43:11 -07:00
Kistaro Windrider
54711b36a8
Display debug enactables.
...
Includes some refactoring work to pull out common code and express the idea of "wait, which panel, exactly?".
2023-04-15 17:17:51 -07:00
Kistaro Windrider
1464070339
Fix excess divider mess in message display.
2023-04-03 01:45:38 -07:00
Kistaro Windrider
74a2493ef4
Clear screen before displaying panel in stats mode.
2023-04-02 19:37:55 -07:00
Kistaro Windrider
9796c2e970
First round of substantial bug fixes
2023-04-02 19:25:53 -07:00
Kistaro Windrider
0f21020647
More fencepost errors!
2023-04-02 19:08:26 -07:00
Kistaro Windrider
e96d81a7b4
Fencepost error!
...
Also the title is visible.
2023-04-02 19:07:05 -07:00
Kistaro Windrider
3a7bf9c2fb
Don't adjust twice.
2023-04-02 19:05:15 -07:00
Kistaro Windrider
2875dc5af8
Implement review mode.
...
This finishes the UI.
2023-04-02 13:58:56 -07:00
Kistaro Windrider
74ca51b21d
actions mode, prompt cleanup
...
Fixes some off-by-one errors. A 1-indexed UI in a 0-indexed language is always going to be prone to those and I will no doubt find more when I have enough of a test program to experiment with...
2023-04-02 13:19:26 -07:00
Kistaro Windrider
5a2158f525
Implement Stats Mode.
...
Also rewords some prompts. Might as well be thorough in accepting reasonable inputs.
2023-04-02 12:54:52 -07:00
Kistaro Windrider
25a9eed3f0
Prompt for player choices on cards.
...
Also handles errors in the display/prompt logic somewhat better.
2023-04-02 12:44:29 -07:00
Kistaro Windrider
592c877852
More display components.
2023-04-02 00:43:17 -07:00
Kistaro Windrider
e1eac9de0f
displayStatsMenu
2023-04-02 00:36:12 -07:00
Kistaro Windrider
7371cddab3
Add more dividers
2023-04-02 00:28:34 -07:00
Kistaro Windrider
aecd8683b2
Restructure loop, basic display functions
2023-04-02 00:26:34 -07:00
Kistaro Windrider
a62de999ea
Panel display, MultiMessage.
2023-04-02 00:20:37 -07:00
Kistaro Windrider
3eb087201f
more terminal utility functions
2023-04-02 00:09:17 -07:00
Kistaro Windrider
c73545fd07
Implement screen clear.
2023-04-02 00:02:25 -07:00
Kistaro Windrider
34e1f3166f
Main display mode skeleton
2023-04-01 23:59:53 -07:00
Kistaro Windrider
af9d9a6579
Skeleton of prototypical UI.
2023-04-01 23:22:50 -07:00