Changed @cards from attr_accessor to attr_reader.