Show HN: My Saturday night project: Supercoinflip

1 points by voodoomagicman ↗ HN
When I have a hard time deciding which restaurant to go to w/ friends or my girlfriend, I usually fire up coffee and do something like:

choices = ['pho', 'gyros', 'pizza', 'burritos'] console.log choices[Math.floor(Math.random()*choices.length)]

Supercoinflip is meant to save me some typing (although I went back and forth on the styles enough that its payback time is probably in the 10s of years). It is written in coffee/sass, compiled into a single static html file, and then run on heroku w/ rack.

http://supercoinflip.com

3 comments

[ 4.1 ms ] story [ 11.3 ms ] thread
How about allowing me to type each item separated by comas?
I actually had thought of that too, but wanted to keep the instructions as short as possible. Maybe commas separting choices w/ enter submitting the form would work better though? I will play around w/ that if I do any updates.