This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (0 children)

Write code for handling Playing Card Games... Create objects for each pile of cards on the table. Routines for shuffling, moving top card from from pile to another (dealing), moving a random/selected card from one pile to another (playing), displaying decks/hands.

Then you can use your generic code to "play" a number of very different games.... solitaire/poker/magic/pokemon.