Let's Eat!

At one time or another (or every night 🙄), we have all had the dreaded "What's for dinner?!" conversation but no more.

We have the solution to end your frustration and hunger pains.

App Coming soon

Don't worry, I got you covered!

Take a spin and let the food gods choose for you!


Didn't like the category? Start Over

Sorry, your browser doesn't support canvas. Please try another.








Recommendations

Match your spin with my recommendation and enjoy!



About the Project

Background: The project began as a simple means to decide what should be for dinner.

Method(s): Research, Pseudocode, Notes, Open Source, Trial/Error

Project Time: ~10 hours

Language(s): Javascript

Future Plans: The plan is the to fully develop this out into an "What's for Dinner?" app.

Code Snippet: var pickUp = ["mcdonalds", "wendys", "sonic", "tacobell", "chickfila", "krystals", "wafflehouse", "mcalistersdeli", "sharksseafood", "arbys", "zaxbys", "jimmyjohns", "subway", "milos", "bojangles", "fiveguys", "freddys", "kfc", "dominos", "marcos", "pizzahut"];

var dineIn = ["amigos", "dreamland", "crackerbarrel", "jimnnicks", "anotherbrokenegg", "fullmoonbbq", "hattiebs", "redlobster", "pfchangs", "thefishmarket", "rojo", "nikiswest", "firstwatch", "olivegarden", "skycastle", "littledonkey", "bonefishgrill", "beefobradys", "applebees", "cajunsteamer", "twinpeaks", "thecowfishsushiburgerbar"];

var ballOut = ["perrys", "texasdebrazil", "cheesecakefactory", "firebirdswoodfiredgrill", "jalexanders", "pappadeauxseafood", "ruthschris", "landrysseafood", "seasons52", "grille29", "amoreristorante", "flemings", "bricktops"];

var stayHome = ["Spaghetti, Corn, and Garlic Bread", "Fish, Baked potato, and Broccoli", "Fried Chicken with sides", "Homemade Broccoli and Cheese Soup", "Grilled Chicken and Broccoli", "Wings and Fries", "Chili with Grilled Cheese","Shirmp Tacos", "Pork Chops with Mashed Potatoes", "Shirmp Quesadillas", "Hamburger Sliders with Sweet Potato Fries", "Nachos", "Rotel and Wings", "Crockpot Surprise", "Pulled Pork Sandwich and Chips", "Beef Tacos", "Chicken Tacos", "Stuffed Peppers", "Philly Cheese Steak Hoagies and Fries", "Fajitas and Mexican Rice", "Fend For Yourself"];

function pickDinner(option1, option2, option3, option4) {

var pickup = option1; var dinein = option2; var ballout = option3; var stayhome = option4;

var rand1 = Math.floor(Math.random() * pickup.length);
var rand2 = Math.floor(Math.random() * dinein.length);
var rand3 = Math.floor(Math.random() * ballout.length);
var rand4 = Math.floor(Math.random() * stayhome.length);

document.getElementById("pickUp").src = "images/pickUp/" + pickup[rand1].toLowerCase() + ".png"; document.getElementById("pickUp").title = pickup[rand1].toUpperCase();

document.getElementById("dineIn").src = "images/dineIn/" + dinein[rand2].toLowerCase() + ".png"; document.getElementById("dineIn").title = dinein[rand2].toUpperCase();

document.getElementById("ballOut").src = "images/ballOut/" + ballout[rand3].toLowerCase() + ".png"; document.getElementById("ballOut").title = ballout[rand3].toUpperCase();

document.getElementById("stayHome").innerHTML = stayhome[rand4];

}

pickDinner(pickUp, dineIn, ballOut, stayHome);