Wanna experience magic? Like, real magic?
$ bundle install
$ bundle exec shotgun --server=puma
Go to http://localhost:9393/ and enjoy!
Interested in how the magic trick works? Let me explain:
- Each yes/no answer is translated into a 0/1 resulting in a sequence of bits.
- End with a binary-to-decimal transformation and you get the (magic) number in decimal.
Not so magical after all, I guess 😁