Worlds most popular advice giving and fortune-telling toy, now implemented in Node!
Install the module with:
npm install magicball
There is one method,
ask, to get an answer from the magic ball.
var magicball = ;var answer = magicball;
The ask method by default chooses randombly between three types of answers:
If you only wish to have one of either you can pass a parameter to the
var magicball = ;var answer = magicball;answer = magicball;answer = magicball;
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using grunt.
Copyright (c) 2012 Mikael Piotrowski
Licensed under the MIT license.