# File lib/quiz1/t/solutions/Jamis Buck/lib/cipher.rb, line 217
  def new_deck
    deck = Deck.new
    cards = deck.to_a

    seed = ( @options[ "seed" ] || 0 ).to_i
    srand seed

    7.times { cards.sort! { rand(3)-1 } }
    deck.cards = cards

    return deck
  end