Re: [Tutor] list of objects?

2011-11-16 Thread bob gailer
e B and put it on pile H. *From:* bob gailer *To:* Elwin Estle *Cc:* "tutor@python.org" *Sent:* Tuesday, November 15, 2011 9:18 PM *Subject:* Re: [Tutor] list of objects? On 11/15/2011 8:40 AM, Elwin Estle wrote: I am attempting to write a text based spider solitaire

Re: [Tutor] list of objects?

2011-11-15 Thread bob gailer
On 11/15/2011 8:40 AM, Elwin Estle wrote: I am attempting to write a text based spider solitaire game. What are the rules of your version of Spider? The only spiders I know have 10 dealt piles and 1 draw pile. I think you have greatly complicated things by using classes. Consider: deck = ra

Re: [Tutor] list of objects?

2011-11-15 Thread James Reynolds
On Tue, Nov 15, 2011 at 8:40 AM, Elwin Estle wrote: > I am attempting to write a text based spider solitaire game. I have a > pretty simple card class, and a deck class, which has a list of card > objects, which are shuffled, then individual elements are put into > self.dealt, which is a 'list o

Re: [Tutor] list of objects?

2011-11-15 Thread Walter Prins
Hi Elwin, On 15 November 2011 13:40, Elwin Estle wrote: > I am attempting to write a text based spider solitaire game. I have a > pretty simple card class, and a deck class, which has a list of card > objects, which are shuffled, then individual elements are put into > self.dealt, which is a '

[Tutor] list of objects?

2011-11-15 Thread Elwin Estle
I am attempting to write a text based spider solitaire game.  I have  a pretty simple card class, and a deck class, which has a list of card objects, which are shuffled, then individual elements are put into self.dealt, which is a 'list of lists' when the cards are dealt. I am trying to control