Skip to content

Instantly share code, notes, and snippets.

@xavdid
Last active May 29, 2019 19:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xavdid/bb2ae92d7e13aa76738e0484a062ee5e to your computer and use it in GitHub Desktop.
Save xavdid/bb2ae92d7e13aa76738e0484a062ee5e to your computer and use it in GitHub Desktop.
Fast and the Furious Movie Name Generator - https://repl.it/repls/ArcticPettyConstant
# run it here: https://repl.it/repls/ArcticPettyConstant
# fast and furious naming conventions are silly
print "Enter a two-word movie title base phrase: "
title = gets.chomp
parts = title.split(' ')
if parts.size > 2
puts "NO ONLY TWO WORDS"
exit
end
puts "\n"
titles = [
"* The #{parts.first} and the #{parts.last}",
"* 2 #{parts.first} 2 #{parts.last}",
"* The #{parts.first} and the #{parts.last}: Tokyo Drift",
"* #{parts.first} & #{parts.last}",
"* #{parts.first} Five",
"* #{parts.first} & #{parts.last} 6",
"* #{parts.last} 7",
"* The F8 of the #{parts.last}"
]
puts titles.join("\n")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment