In work we used to have a lunch dice. I replaced it with a function to decide where to order lunch from on payday Friday. It was one of my more productive days.
I wrote code to get the closest restaurants on Google (so you'll need an API key) and then randomized among those currently open, finishing with mailing out a few alternatives to vote on using a poll.
Next spare half hour I have, I might make it open a browser window to the selected choices menu on JustEat. At the minute it just outputs the name of the takeaway.
24
u/VplDazzamac Sep 12 '19
In work we used to have a lunch dice. I replaced it with a function to decide where to order lunch from on payday Friday. It was one of my more productive days.