Giter Site home page Giter Site logo

vorpentine / magic-8-ball Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sethclydesdale/magic-8-ball

0.0 0.0 0.0 315 KB

Ask the Magic 8-ball a question, directly in your browser ! Based off the fortune telling toy by mattell.

Home Page: http://sethclydesdale.github.io/magic-8-ball/

License: GNU General Public License v3.0

JavaScript 53.86% CSS 24.95% HTML 21.19%

magic-8-ball's Introduction

The Magic 8-ball

Got a question ? Then consult the magic 8-ball !

preview

Information

This was another project developed for fun. Making use of HTML, CSS, and JavaScript. You can find a working demo @ https://sethclydesdale.github.io/magic-8-ball/

For the best experience, make sure that your browser is up to date !

CSS was used for a majority of transitions and animations, and of course JavaScript is used for the main logic ! The answer triangles themselves are images, due to the fact that it's a bit difficult to maintain a perfect appearance with CSS alone. You can make triangles with 2 transparent borders and 1 colored, but I found it was still a difficult task. It should be achievable if you're using the canvas element, though. :)

Trivia

There's a possibility of 20 different answers !

Positive Answers

  1. It is certain
  2. It is decidedly so
  3. Without a doubt
  4. Yes definitely
  5. You may rely on it
  6. As I see it, yes
  7. Most likely
  8. Outlook good
  9. Yes
  10. Signs point to yes

Neutral Answers

  1. Reply hazy try again
  2. Ask again later
  3. Better not tell you now
  4. Cannot predict now
  5. Concentrate and ask again

Negative Answers

  1. Don't count on it
  2. My reply is no
  3. My sources say no
  4. Outlook not so good
  5. Very doubtful

Now think of the chances ! 50% of the time you can get a positive answer, and 25% of the time you can get either a neutral or negative answer. The odds are in your favor !.. maybe !!

magic-8-ball's People

Contributors

sethclydesdale avatar vorpentine avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.