slot machine

Κλειστό

Περιγραφή

- Your task in this lab is to build a “slot machine” simulation.

- There are 3 JLabels, each displaying one of the three images, chosen at random. Clicking on the SPIN JButton randomly selects a new image for each label:

- If you click SPIN enough times you may get the same picture showing on all three labels. If this happens, the JButton will display “YOU WIN!” and the game is over (the JButton is disabled so that no more spins can happen):

Required functionality

- Display a JFrame whose title is your first and last name, followed by “’s Lab 8”. For example, the title of my JFrame must be “Carl Alphonce’s Lab 8”. Notice that the screenshots above do NOT show the correct title.

- Display three JLabels in one row, each displaying one of the supplied images.

- Display one JButton in by itself in the row below the JButtons, in the middle. (TA’s will give RECITATION ONLY HINT #3 for this.) The text of the JButton must be “SPIN”.

- Handle a button-click on the JButton by randomly choosing an image (from the ones supplied) to display on each of the three JLabels.

- If all three JLabels display the same image, change the text of the JButton to “YOU WIN!”, and disable it.

- Make appropriate use of conditionals (if-else or if statements) and loops (while, for, or enhanced for statements) to minimize code duplication.

- Structure the code to achieve a model-view separation.

Δεξιότητες: Java

Δείτε περισσότερα: proposal for project example, neural network machine learning trading programmers freelance for hire, how to write a proposal for work example, how to change startup logo for rm u51k, general contract for services example, cover page for resume example, cover letter for resume example, cover letter for job example, contract for services example, contract for service example, machine slot, gaming for change graphic design for a game, gaming for change - graphic design for a game, developers for hire web developer and database integration skills required will be c html5 css3 asp net java and sql, software write mq4, software write chip epson, useful software write book, software write web specs, machine slot psd, free software write user guide, software write edid, free software write company profile, software write websites idea, software write book images, software write books

ID Εργασίας: #12009233

17 freelancers κάνουν προσφορές με μέσο όρο $444 γι' αυτή τη δουλειά

$31 USD σε 2 μέρες
(551 Αξιολογήσεις)
6.6
asadrana91

need an A grade?contact me.

$50 USD σε 1 μέρα
(65 Αξιολογήσεις)
6.2
miodragstajic

Dear Client, We are game development company, Falcon Interactive, with HQ in London, having dedicated team of over 78 experts in game programming, 3D modeling/2D design, AI experts, networking, online, social gamin Περισσότερα

$6666 USD σε 40 μέρες
(4 Αξιολογήσεις)
6.2
$60 USD σε 1 μέρα
(28 Αξιολογήσεις)
4.6
anuragiitk

I am an IITK graduate, 9 year experienced software professional and I have got top notch developers in my team, who have got experience across a span of technologies. The members in my team have worked with top notch t Περισσότερα

$222 USD σε 1 μέρα
(15 Αξιολογήσεις)
4.5
HealthyCoder

Hello Sir, being a Software Engineer i can do your job easily, i have already done many projects in java and i have about 2 years experience. come to chat for detail conversation about your project. Regards Sibgha Περισσότερα

$20 USD σε 1 μέρα
(10 Αξιολογήσεις)
4.3
$100 USD σε 1 μέρα
(5 Αξιολογήσεις)
3.2
nishantsingh0907

A proposal has not yet been provided

$55 USD σε 2 μέρες
(3 Αξιολογήσεις)
3.0
hinahanif15

Greetings, I am interested in doing this job. I am BS-CS graduate and knows Java programming as well, because of which I can do this task with ease. Have worked on NetBeans, Eclipse. Please do give me a chance to p Περισσότερα

$110 USD σε 3 μέρες
(4 Αξιολογήσεις)
2.2
abubakar4248

Hi... i read the descriptions and understand i will provide quality work according to your requirement in given time period i will work on our project until you satisfy i am professionally software engineer(P Περισσότερα

$60 USD σε 1 μέρα
(3 Αξιολογήσεις)
2.4
sanjaykumargupta

Hi, As per my extensive experiene in java/j2ee technology, i will complete the project as per the requirement. I would like to build long term business relations, to get work done with a difference award us this Περισσότερα

$10 USD σε 2 μέρες
(2 Αξιολογήσεις)
2.0
$30 USD σε 2 μέρες
(1 Αξιολόγηση)
1.8
mattbabel

This is definitely something I can do for you. I'm a great java programmer and this is something I'd actually be excited to work on, it seems fun and like something I could make really well. If you are looking for some Περισσότερα

$30 USD σε 3 μέρες
(1 Αξιολόγηση)
0.4
curiosityrick

I'm Java TA and know how to build this project easily. Still in contact with my University teachers so I know exactly how to follow with these assignments

$30 USD σε 1 μέρα
(0 Αξιολογήσεις)
0.0
ayselela16

I am a Master of Science student in Electrical and Electronics Engineering department with having Java skill. I completed some CS department courses including labs and projects.

$30 USD σε 10 μέρες
(0 Αξιολογήσεις)
0.0
sonnv174

Currently, I'm training a student group who are learning Swing Java and practice similar your project . Therefore, I can fulfill your project.

$25 USD σε 1 μέρα
(0 Αξιολογήσεις)
0.0
$25 USD σε 1 μέρα
(0 Αξιολογήσεις)
0.0