Last active
May 29, 2019 19:33
-
-
Save xavdid/bb2ae92d7e13aa76738e0484a062ee5e to your computer and use it in GitHub Desktop.
Fast and the Furious Movie Name Generator - https://repl.it/repls/ArcticPettyConstant
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
# 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