Build a web-based cocktail maker. Your web page should show a set of 4-8 named bottles, a cocktail shaker and a cocktail glass. If the user clicks on a bottle, a dash of its contents is added to the shaker. The total contents of the shaker should be listed beside the shaker, for example:
- 1 Ouzo
- 2 Gin
- 1 Creme De Menthe
When the user clicks on the shaker, you should show the shaker being shaken for a moment or two (using a simple animation) and then the glass should appear filled and the shaker should become empty.
When the user clicks on the glass, the webpage should display the message "Cheers!" and the glass should become empty. However, if the glass contains a Vodka Martini, shaken not stirred (5 Vodka, 1 Vermouth), then the webpage should display the message "Welcome back, Mr. Bond!"
You should include sound effects in response to various events. You should begin by using algorithms and class diagrams to design your software.
Please, please, please, can anyone help me? I need to pass this!