Skip to content

beyonddream/magic8ball

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

magic8ball

Magic 8 Ball answer generator

Example

require 'magic8ball'
magic8ball = Magic8Ball.new
print magic8ball.ask("Will it rain today?")

For more info, checkout magic8ball.rb or the test file test_magic8ball.rb. Really, it is dead simple.

Why

This is a silly ruby program but I wanted something simple and goofy to try for fun. It is inspired by the perl implementation here

License

Unlicense

Releases

No releases published

Packages

No packages published

Languages