Cashback Offer (1st - 15th October 2020). Get Flat 10% Cashback credited in your account on a minimum transaction of $80. Post Your Question

Question DetailsNormal
$ 25.00

Lab 10 - The Student Game | Complete Solution | Rated A+

Question posted by
Online Tutor Profile
request

Lab 10 - The Student Game


What will you learn
- Combined use of Timer and the tracking of user interactions

Deliverables
app.java, myJFrame.java, myJPanel.java, and other necessary Java files

Contents
The objective of the lab is to create a game in which the player has to click on a moving student-button to score.
1. The student button has to move constantly (using the timer)
2. The application has to keep the score
3. The actual score has to be shown.
4. Implement at least one of the extras listed below (#3 to #7)

- level of difficulty: High
- level of usefulness for the final project: Very High

I am giving you
- the timer example
- the new hybrid student-button (use yours from Lab 09)
- the mouse motion and mouse click examples
- the null layout example

Suggestion: start with the basic timer Java example and made the necessary changes to it.

Suggested steps:
#1 get the student button moving
you need the get timer started
you need a null layout (check the layout Java examples)
you need to set a different position for the button every time the timer ticks

#2 keep the score (on a separate button)

when these two are working, then:

#3 changes the image of the student button when it is clicked

when #3 is implemented, then:

#4 add a slider to make the button move faster or slower
- you need to use the setDelay() method applied to the timer.

when #4 is implemented, then:

#5 makes the movement smooth instead of jumping from one place to another place very far away.

#6 makes the student-button run faster when the mouse approaches it

when #5 and 6 are implemented, then

#7 whatever else you want to add to it

These are example files.
First three files are for mouse click.

Next three are for mouse motion.

Three after that are for Advanced Timer.

Three after that are for Basic Timer.

Next three are for Multi-timer.

Last 8 files are for the Null Layout.

Available Answer
$ 25.00

[Solved] Lab 10 - The Student Game | Complete Solution | Rated A+ 2

  • This Solution has been Purchased 5 time
  • Average Rating for this solution is A+
  • Submitted On 08 Nov, 2014 09:26:14
Answer posted by
Online Tutor Profile
solution

This tutorial is rat...

Buy now to view the complete solution
Other Similar Questions
User Profile
Exper...

Lab 10 - The Student Game | Complete Solution | Rated A+ 2

This tutorial is rated A+ previously,if you have any question than you can contact me.

...

The benefits of buying study notes from CourseMerit

homeworkhelptime
Assurance Of Timely Delivery
We value your patience, and to ensure you always receive your homework help within the promised time, our dedicated team of tutors begins their work as soon as the request arrives.
tutoring
Best Price In The Market
All the services that are available on our page cost only a nominal amount of money. In fact, the prices are lower than the industry standards. You can always expect value for money from us.
tutorsupport
Uninterrupted 24/7 Support
Our customer support wing remains online 24x7 to provide you seamless assistance. Also, when you post a query or a request here, you can expect an immediate response from our side.
closebutton

$ 629.35