title: Basic logic/flow of card effects in a trading card game
body: <p>I've done a simple card game before, I have ideas for the overall flow of the program. The main thing that concerns me is card triggers.</p>
  
  <p>Let's say we have a card called "Guy" with the effect of "Whenever you play another card, gain 2 life". How would I go about incorporating this into my code? Every time I play a card, do I have to check if Guy is on the field, and if he is it will run the code to gain 2 life? This seems like it will clutter the main part of my code really fast when I get more cards in the game due to all the potential triggers. I want to figure out the most optimal way to do this.</p>