improved version
import random
names1 = ["Fast","Extreme","Total","Quick","Fury","Total","Mega","Go","Lon","Miner","Smash","Con","HandRouted","Huge","Force","Monster","Beast","Wildcat","Eruptor","CalmDown"]
names2 = ["Bit","Coin","Hash","SHA-256","Ava","ASIC","Miner","Crypto","Blockchain"]
print "Your new ASIC company name is:"
print random.choice(names1) + random.choice(names2)
Choose from:
http://pastie.org/private/jyv9c4dyxoxoy4mf8pq4sgChallenge accepted ;-)
Ruby (1.9+) version
names1 = ["Fast","Extreme","Total","Quick","Fury","Total","Mega","Go","Lon","Miner","Smash","Con","HandRouted","Huge","Force","Monster","Beast","Wildcat","Eruptor","CalmDown"]
names2 = ["Bit","Coin","Hash","SHA-256","Ava","ASIC","Miner","Crypto","Blockchain"]
puts "Your new ASIC company name is: #{names1.sample}#{names2.sample}"
Beautiful! Much improved
.
Don't forget the option to swap things around. How about:
import random
names1 = ["Fast","Extreme","Total","Quick","Fury","Total","Mega","Go","Lon","Miner","Smash","Con","HandRouted","Huge","Force","Monster","Beast","Wildcat","Eruptor","CalmDown"]
names2 = ["Bit","Coin","Hash","SHA-256","Ava","ASIC","Miner","Crypto","Blockchain"]
flip = random.randrange(2)
print "Your new ASIC company name is:"
if flip == 0:
print random.choice(names1) + random.choice(names2)
else:
print random.choice(names2) + random.choice(names1)
I'm afraid that I didn't attempt the Ruby, my horrible Python is enough to foist on the world.
Overkill edition :-
import random
names1 = ["Fast","Extreme","Total","Quick","Fury","Total","Mega","Go","Lon","Miner","Smash","Con","HandRouted","Huge","Force","Monster","Beast","Wildcat","Eruptor","CalmDown"]
names2 = ["Bit","Coin","Hash","SHA-256","Ava","ASIC","Miner","Crypto","Blockchain"]
print "Your new ASIC company name is: %s%s" %(random.choice(random.choice([[name1 + name2, name2 + name1] for name1 in names1 for name2 in names2])))
This will give you all possible combinations (i think)
[[name1 + name2, name2 + name1] for name1 in names1 for name2 in names2]
Waiting for the perl hacker to come up with a one liner....