aterribleidea.com

These scripts are for demonstration purposes only. They were written for a series at IBM developerWorks. A link to the series will be added when the series has been published. You can get the source code for all these scripts in the article

Part 1 : A Basic Die Roller - Random Name Generator - Scenario Generator - Deck Shuffler - Odds Calculator : Card Draw
             Simple Poker Dealer - Hangman Generator - Crossword Helper - Mad Libber - Lotto Picker

Part 2 : Damage Calculator - Stat Tracker - NPC Generator - Odds Calculator : Die Roll - Simple Blackjack Dealer
             Card Counter - Bingo Engine - Jumble Helper - Substitution Cyphers - Word Search Generator

Part 3 : Inventory Management - Note Taker - ID Card Generator - Map Generator - Poker Hand Evaluator
             Slot Machine - Keno - Cryptogram Helper - Mastermind - Word Chains


Having generated a deck of 52 cards, here is a random card from the deck :

King of Clubs

Here is the rest of the deck :

Eight of Clubs
Ten of Hearts
Ace of Diamonds
Four of Spades
Queen of Spades
Four of Diamonds
Two of Hearts
King of Diamonds
Ace of Clubs
Four of Hearts
Eight of Spades
Seven of Clubs
Eight of Hearts
Three of Spades
Five of Hearts
Seven of Spades
Five of Diamonds
Two of Clubs
Queen of Diamonds
Two of Spades
Nine of Hearts
Ace of Spades
Jack of Hearts
Five of Clubs
Three of Clubs
Jack of Diamonds
Six of Spades
King of Hearts
Jack of Clubs
Queen of Clubs
Seven of Hearts
Six of Clubs
Eight of Diamonds
Nine of Diamonds
Ace of Hearts
Three of Diamonds
Four of Clubs
Three of Hearts
Ten of Spades
Jack of Spades
Two of Diamonds
Six of Hearts
Queen of Hearts
King of Spades
Nine of Spades
Ten of Clubs
Seven of Diamonds
Ten of Diamonds
Nine of Clubs
Six of Diamonds
Five of Spades