Commit Graph

9 Commits

Author SHA1 Message Date
Kistaro Windrider abb00e30c3
Debug action to adjust debug level. 2023-04-15 20:16:54 -07:00
Kistaro Windrider 74fac625f2
Implement standard debuggers.
These debug actions are added to all players by default.
2023-04-15 19:16:08 -07:00
Kistaro Windrider 2480a1631b
Implement a very crude "game" as a test. Also updates Player. 2023-04-02 19:01:40 -07:00
Kistaro Windrider e1eac9de0f
displayStatsMenu 2023-04-02 00:36:12 -07:00
Kistaro Windrider 09fdf19948
CardOption.Enable
Make it possible for a card to display an option but not actually allow it to be selected. It's up to the UI layer to decide how to display options that are not enabled. The option text should probably contiain a note on why the option cannot be selected...
2023-04-01 22:09:05 -07:00
Kistaro Windrider 99e9e35b1d
Card.Drawn, to give cards a chance to not show up
A card can be shuffled into the deck because of a certain condition, and then that condition could cease to apply. If the card should not be presented to the player, it gets one last chance to hide.

There is currently no direct mechanism for making a card _already in the hand_ disappear if it is not relevant, although there are various ways to implement a Rule to do this.
2023-04-01 18:05:57 -07:00
Kistaro Windrider cef0718cba
Cards can be urgent 2023-04-01 12:02:14 -07:00
Kistaro Windrider 8153a7c083
Card.Then
Add a callback to the Card interface to be invoked after an option is selected. This will most frequently be used for cards that always want to shuffle themselves back into the deck regardless of the Option selected.
2023-03-27 20:21:57 -07:00
Kistaro Windrider 45bbfe4e8f
Initial commit.
No tests. Not complete.
2023-03-26 23:40:44 -07:00