From b016b8c311d521a3162e1596f6019c5e4ae0f3ca Mon Sep 17 00:00:00 2001 From: Kate Evans Date: Thu, 10 Aug 2017 09:16:34 -0700 Subject: [PATCH 1/4] Create random_menu.rb --- random_menu.rb | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 random_menu.rb diff --git a/random_menu.rb b/random_menu.rb new file mode 100644 index 0000000..2631c21 --- /dev/null +++ b/random_menu.rb @@ -0,0 +1,19 @@ +adjective = File.open("adjectives.txt").read.split("\n").shuffle! +food = File.open("foods.txt").read.split("\n").shuffle! +twist = File.open("twists.txt").read.split("\n").shuffle! +menu_length = ARGV[0].to_i + +shortest_list = [adjective.length, food.length, twist.length].min + +if menu_length > shortest_list + menu_length = shortest_list + puts "\n(Due to budget constraints, menu has been shortened to #{menu_length} items. We apologize for the inconvenience.)" +end + +puts "\nLe Menu:\n\n" + +menu_length.times do |i| + puts "#{i+1}. #{adjective.pop} #{food.pop} #{twist.pop}\n" +end + +puts "" From e95703681a128fe4fb4f395fd8e3d36e107c51eb Mon Sep 17 00:00:00 2001 From: Kate Evans Date: Thu, 10 Aug 2017 09:16:43 -0700 Subject: [PATCH 2/4] Create adjectives.txt --- adjectives.txt | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 adjectives.txt diff --git a/adjectives.txt b/adjectives.txt new file mode 100644 index 0000000..4b7d103 --- /dev/null +++ b/adjectives.txt @@ -0,0 +1,56 @@ +Hot +Cold +Room-Temperature +Deconstructed +Asian Fusion +Thai +French +Korean +Mexican +Japanese +Malaysian +New York-Style +Chicago-Style +Philadelphia-Style +Barbecue +Marinated +Portuguese +Upside-Down +Seared +Deep-Fried +Tempura +Frozen +Organic +Imported +Well-Done +Rare +Raw +Miniature +Huge +Chicken-Fried +Cold-Pressed +Creme de la +Inside-Out +Traditional +Reheated +Braised +Soft +Hard +Ancient +Original +Plain +Probiotic +Spicy +Vegan +Gluten-Free +Paleo +Vegetarian +Keto +Cheesy +Frosted +Glazed +Crispy +Al Dente +Ground +Minced +Creamy From b445bf2911d640efb962029a1bb674507f7747b7 Mon Sep 17 00:00:00 2001 From: Kate Evans Date: Thu, 10 Aug 2017 09:16:51 -0700 Subject: [PATCH 3/4] Create foods.txt --- foods.txt | 66 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 foods.txt diff --git a/foods.txt b/foods.txt new file mode 100644 index 0000000..b7f523e --- /dev/null +++ b/foods.txt @@ -0,0 +1,66 @@ +Tuna +Tilapia +Salmon +Shrimp +Lobster +Steak +Chicken +Pork +Bacon +Lamb +Waffles +Pancakes +Hamburger +Cheeseburger +Hot Dog +Sausage +Schnitzel +Curry +Ramen +Noodles +Pho +Ratatouille +Cabbage +Poke +Bratwurst +Pulled Pork +Brussels Sprouts +Breadsticks +Lasagna +Clams +Duck +Veal +Tofu +Mushrooms +Garden Vegetables +Squash +Mozzarella Sticks +Cereal +Ice Cream +Water +Buffalo +Rabbit +Chicken Wings +Beef Tongue +Pork Belly +Chicken Nuggets +Oxtail +Carrots +Baked Potato +Mashed Potatoes +Sweet Potato +French Fries +Tomatoes +Lobster +Crab +Sea Urchin +Eel +Fugu +Mixed Seafood +Eggplant +Creme +Spam +Wumpa Fruit +Flank Steak +Bulgogi +Kimchi From 7ab8cd8ffc163e15c5acf9fb8f20149ada76a38e Mon Sep 17 00:00:00 2001 From: Kate Evans Date: Thu, 10 Aug 2017 09:16:59 -0700 Subject: [PATCH 4/4] Create twists.txt --- twists.txt | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 twists.txt diff --git a/twists.txt b/twists.txt new file mode 100644 index 0000000..56ed98d --- /dev/null +++ b/twists.txt @@ -0,0 +1,57 @@ +with Avocado +Smoothie +Sandwich +Soup +with Beans +with Rice +with Side Salad +Combo +Kebab +Sushi +Kimbap +Musubi +Fillet +a la Mode +on Ice +on a bed of Romaine Lettuce +Juice +Salad +Bowl +Martini +in a Mason Jar +with Fries +without Fries +in a Box +Stir Fry +Fried Rice +Buns +on a Bagel +Pizza +Flatbread +Milkshake +and a Shot of Jameson +Dumplings +To Go +on a Sesame Seed Bun +Loaf +con Salsa Verde +du Jour +on Toast +in a Bread Bowl +in a Mug +a la Edgar +with Salt and Pepper +and Guac +Bites +IPA +with Mayo +with Cheese +with Sprinkles +with Chips +Sashimi +Broth +Reduction +Pasta +Fettuccine +Alfredo +in Cream Sauce