Need some work done? Post a Project Today
I need a java application which simulates a coffee machine. I made a picture where you can see how it could look.
Please look at the picture here: (look at the attachments)
I also added numbers to the different parts in the picture, here you can see what should be done at the different parts:
The user has some money to buy something from the coffee dispenser.
Via Drag&Drop the money is dragged to the coin slot.Here a audio file should be played so you can hear how the coins drop in the machine or the banknote moves in.
3:This is the display. Here messages like "amount payable: 2€" or "machine is ready to use" should be displayed.
4: The user can cancel the order and the coins which where entered drop down, out of the automat. Here also play a sound how the coins drop out of the machine.
5:The dropped out coins now should lay in the box, with a click you add the coins back to your hand.
6: Choose the coffee, or cappuchino or whatever. Only order is accepted if the user payed before.
7: Coffee should go into the cup with an animation. While this is happening no other order is accepted. According to the chosen coffee the animation should be different. Coffee: Only coffee goes in the cup, cappuccino: milk and coffee will go in the cup.
Also a sound how the coffee goes in the cup should be played and a sound how the coffee gets drunk. If the user clicks on the coffee the coffee should dissapear, a new cup should be placed there and the sound should be played.
8: The money left should be displayed here. For example: The user had 10€ and bought a coffee for 2€. Then there should be 4x2€ = 8€ shown up. So you have to calculate the right amount of money which are left after the user bought the coffee.