Skip to content
/ magic Public

Little Bit of Magic, a Rack app

Notifications You must be signed in to change notification settings

orhantoy/magic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Little Bit of Magic

Wanna experience magic? Like, real magic?

$ bundle install
$ bundle exec shotgun --server=puma

Go to http://localhost:9393/ and enjoy!

Behind the scenes

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 😁

About

Little Bit of Magic, a Rack app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published