Skip to content

Instantly share code, notes, and snippets.

@beck
Last active August 29, 2015 14:00
Show Gist options
  • Save beck/11006082 to your computer and use it in GitHub Desktop.
Save beck/11006082 to your computer and use it in GitHub Desktop.
dicks
#!/usr/bin/env ruby
#
# dicks v0.03 - Concise version thanks to a kind
# redditor (ageddyn)
#
# Brutish way to print out a bunch of ascii dongs.
# usage: 'dicks n' will print n dicks. Defaults
# to 5 dicks if no argument is called.
#
# Sperm patch coming soon.
# -BTS
# if you wish to make a dong from scratch
BALLS,SHAFT,HEAD = "8","=","D"
# you must first create the universe
def dicks (n)
n.times do
puts "#{BALLS}#{SHAFT * (rand(10)+1)}#{HEAD}"
end
end
dicks(ARGV.empty? ? 5 : ARGV.pop.to_i)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment