Slot machine java

broken image

I had my MVP up and running on day 3 of the project which allowed time to add extensions and refactor. The only other planning I did was to draw up my wireframes. Starting from scratch also allowed me to clean up and SOLIDify the code. My homework became the blueprint instead of drawing up diagrams and I made notes of the things I would need to add or change to allow the extra features (nudge and hold) to work. I decided to write the code for this project from scratch using TDD using the homework as a reference. DO NOT USE ANY FRAMEWORKS - this includes Java Swing and similar packages.Īs I already had working code from the homework which ran in the terminal, my planning was very basic.Allow users to choose from Symbol Packs (Different games.).Display the symbols above and below as well to help with nudges.Users should also be allowed to nudge and hold at random times.

broken image
broken image

For example, if the user spins and lands 3 matching symbols a winning message is displayed and their winnings updated and stored. The aim is to display the results of the Java logic already written. You are now being asked to take that Java code and use it as the basis for an Android app which simulates the same fruit machine.

broken image

Last week, for your homework you were asked to create a fruit machine using objects modelled in Java.

broken image