 #
 # This is far from optimal, but I believe it does what the card
 # is supposed to do without breaking any rules. I may have to come
-# back to this when my coffee skills are stronger. And I have a 
-# greater understanding of how discards are decided. Ideally, the 
-# code for discards should be different depending on the type of 
+# back to this when my coffee skills are stronger. And I have a
+# greater understanding of how discards are decided. Ideally, the
+# code for discards should be different depending on the type of
 # attack and the total money already in hand.
 
 makeCard "Secret Chamber", action, {

makeCard "Horn of Plenty", treasure, {
  cost: 5
  coins: 0
  playEffect: (state) -> 
    limit = state.current.numUniqueCardsInPlay()
    choices = []
    for cardName of state.supply

  # - What happens when this card is in hand and an opponent plays an attack?
  reactToAttack: (state, player, attackEvent) ->
  # - What happens when this card is in the duration pile and an opponent plays an attack?
  durationReactToAttack: (state, player, attackEvent) ->
  # - What happens when this card is in hand and its owner gains a card?
  reactToGain: (state, player, card) ->
  # - What happens when this card is in hand and someone else gains a card?
