Skip to content

karolskolasinski/magic8ball

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Magic 8-Ball

Description

a simple web service created using Java Spring Boot, Security, Thymeleaf, MongoDB, Materialize

  • ask the ball a yes-no question,
  • receive the answer

Have fun :)

Description

The Magic 8-Ball is a plastic sphere, made to look like an eight-ball, that is used for fortune-telling or seeking advice. It was invented in 1950 by Albert C. Carter and Abe Bookman and is currently manufactured by Mattel. The user asks a yes–no question to the ball and then turns it over to reveal an answer in a window on the ball.

Design and usage

The Magic 8-Ball is a hollow plastic sphere resembling a black-and-white 8-ball. Its standard size is larger than an ordinary pool ball, but it has been made in various sizes. Inside the ball, a cylindrical reservoir contains a white plastic icosahedron floating in alcohol dyed dark blue. Each of the die's 20 faces has an affirmative, negative or non-committal statement printed in raised letters. These messages are read through a window on the ball's bottom.

To use the ball, it must be held with the window initially facing down to allow the die to float within the cylinder. After asking the ball a yes–no question, the user then turns the ball so that the window faces up. The die floats to the top, and one face presses against the window; the raised letters displace the blue liquid to reveal the message as white letters on a blue background. Although most users shake the ball before turning it upright, the instructions warn against doing so to avoid white bubbles.

pic question

pic answer