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 :

Three of Clubs

Here is the rest of the deck :

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