/magic8ballv1

Primary LanguageRubyMIT LicenseMIT

Magic Eight Ball v1

Use the Magic Eight Ball to find answers to your everyday questions,
or decide your own fate by creating your own custom answers to appear when you ask the Magic Eight Ball.

  • Can't decide where to eat? then make a list of places to go and ask the Eight Ball to decide for you.
  • Can't decide what movie to watch? then make a list of movies and ask the Eight Ball to decide for you.
    What can the Eight Ball help decide for you?

Install Instructions

  1. If you'd like to check this out yourself fork it from GitHub
  2. In the terminal run bundle
  3. In the terminal run shotgun to start on your local server

Usage

If you dont already have an account sign up or login.

Traditional Eight Ball

  1. Enter a question and "SHAKE THE EIGHT BALL" to get an answer from the Magic Eight Ball.
  • NOTE: This page can be accessed at any screen by selecting the "HOME" link from the menu bar at the top.

Create a custom List

  1. Use the "CREATE" link from the menu bar at the top.
  2. Filling out the form.
  • You must include a NAME for your list and at least one ANSWER.
  • List NAME and each ANSWER can be up to 25 characters long.
  • You can have up to 20 ANSWERS (like the icosahedron in a Magic Eight Ball)

Update a custom List

  1. Use the "LISTS" link from the menu bar at the top.
  2. Select the list you would like to UPDATE.
  • NOTE: If no lists have been created you can create a new list by clicking "Create a new list?"
  1. Filling out the form:
  • List name can remain the same or changed.
  • Answers can remain the same, be changed, removed, or added to the current list.
  • You must include a NAME for your list and at least one ANSWER.
  • List NAME and each ANSWER can be up to 25 characters long.
  • You can have up to 20 ANSWERS (like the icosahedron in a Magic Eight Ball)
  1. Select the "Update" button to save your changes

Delete a custom List

  1. Use the "LISTS" link from the menu bar at the top.
  2. Select the list you would like to DELETE.
  • NOTE: If no lists have been created you can create a new list by clicking "Create a new list?"
  1. Select the "Delete" button at the page

Using a Custom List

  1. Enter a question
  2. Choose your answer list from the drop down menu that currently displays "Magic Eight Ball"
  3. Click the "SHAKE THE EIGHT BALL" button to get an answer from your selected custom list.
  • NOTE: This page can be accessed at any screen by selecting the "HOME" link from the menu bar at the top.

Contributors Guide

Bug reports and pull requests are welcome on GitHub. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

Copyright 2020 (Kyle R. McKenna)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.