Card game in python

Posted by matt1024 on Stack Overflow See other posts from Stack Overflow or by matt1024
Published on 2010-03-25T19:32:55Z Indexed on 2010/03/25 19:43 UTC
Read the original article Hit count: 459

Filed under:
|
|

What is the best way to store the cards and suits in python so that I can hold a reference to these values in another variable?

For example, if I have a list called hand (cards in players hand), how could I hold values that could refer to the names of suits and values of specific cards, and how would these names and values of suits and cards be stored?

© Stack Overflow or respective owner

Related posts about python

Related posts about card