Created
January 7, 2011 23:01
-
-
Save mhat/770261 to your computer and use it in GitHub Desktop.
ruby dongmaker.rb number_of_dongst dong_shaft_size dong_jizz_size
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BALLS = %w{ 8 B & o O } | |
HEADS = %w{ D b C > } | |
JIZZ = '~' | |
SHAFT = '=' | |
ARGV[0].to_i.times do | |
balls = BALLS[ rand(BALLS.size) ] | |
head = HEADS[ rand(HEADS.size) ] | |
shaft = SHAFT * ((ssize = rand(ARGV[1].to_i)) == 0 ? 1 : ssize) | |
jizz = JIZZ * ((jsize = rand(ARGV[1].to_i)) == 0 ? 1 : jsize) | |
puts "#{balls}#{shaft}#{head}#{jizz}" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment