In some of the more complicated card games there are triggered events. For example, in Dominion when I play an attack card, you have a chance to play a reaction card. We could hardcode this into play_action but that's ugly. We should probably expand the "@action" decorator so that it can take in a list of triggers or something similar.
In some of the more complicated card games there are triggered events. For example, in Dominion when I play an attack card, you have a chance to play a reaction card. We could hardcode this into play_action but that's ugly. We should probably expand the "@action" decorator so that it can take in a list of triggers or something similar.