"max baseman" <[EMAIL PROTECTED]> wrote

> it i got stuck on one bit, how do i make it so that their is one of
> each card and i can split them?

You can define the cards as a tuple of values and insert them into a 
list.
You can use random.choice() to select a card fro the list.
By applying that repeatedly you can split the list across multiple
players hands(also lists)

Is that what you mean?

-- 
Alan Gauld
Author of the Learn to Program web site
http://www.freenetpages.co.uk/hp/alan.gauld



_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to