The Magic 8-Ball runs using Node.js. You can invoke it via the command line by running:
node magic8.js
Once invoked, you must ask The Magic 8-Ball a Yes-no question. It will then divine an answer for you and display it. Re-invoke to ask another question.