Skip to content

throughtronik/magic_8_ball

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

8ball.rb

"To be, or not to be, that is the question" (c) Hamlet

Simple script helps you to answer your question and make a right decision (don't take seriously).

Read more about Magic 8 ball.

Requirements

  1. Prepare your question.
  2. Installed Ruby interpreter (definately works on ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-linux])

Launch

  1. Clone it
  2. Move to folder you've cloned through terminal (cd path_to_cloned_proj)
  3. Run as mentioned:
ruby 8ball.rb
  1. Wait for execution.
  2. Get your answer.
Кто вопрошает, тот получит ответ:

Генерирую ответ...

Мой ответ — «нет»

Modification & distribution

Scipts provided as it is.

In files greetings.txt and answers.txt you can add your questions and greetings phrases.

Releases

No releases published

Packages

No packages published

Languages