A bit of an abstract thread, but I hope it prompts a variety of creative answers.
So there’s something I’d like to understand; timing and reactionary mechanics as applied to RPGs or card games. As an example, I’ll refer to one of my favorite cards: Magic Cylinder | Yu-Gi-Oh! Wiki | Fandom
The effect is triggered when an enemy declares an attack; during the declaration event, prior to damage calculation. It responds to things happening within the game.
My question to you is, how would you personally go about designing such a system?