Re: [Tutor] war cards

2007-12-24 Thread Alan Gauld
"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

Re: [Tutor] war cards

2007-12-24 Thread bob gailer
max baseman wrote: > hello all, i have been rolling the idea of writing a simple script to > play the classic card game war. i thought it would be good for me > because their is no skill in the game. while thinking of how to write > it i got stuck on one bit, how do i make it so that their is

[Tutor] war cards

2007-12-24 Thread max baseman
hello all, i have been rolling the idea of writing a simple script to play the classic card game war. i thought it would be good for me because their is no skill in the game. while thinking of how to write it i got stuck on one bit, how do i make it so that their is one of each card and i c