Published using Google Docs
As1b (optional) Rap Battle
Updated automatically every 5 minutes

Java Intro 1

Scona Rap Battle!

Mr. Couprie grew up on the mean streets of St. Albert.  It was a hard gangsta life but as you are no doubt aware, he emerged from this life and eventually became known as the King of Hip Hop.  This assignment is dedicated to that time, not so long ago.

Create a new class as As1_Rap.java.

        

Variables Required

The program begins off air. 

Then it is showtime!  It is time to get into your show hosting character.

Yo, yo, yo homies.  Welcome to Scona Rap Battle!  

Lets’ say SUP to our first contestant _____.  

And earlier we recorded the rap battles. Let’s hear the beats:

___________

Yo dawg that was the shizzle.

Now we are hanging with contestant two.  His handle is ___

And here comes his rap:

_____

Daaang. This is going to be close.

                judge3 =  (int) (Math.random( ) * 10 + 1);        

Now it is time to announce your winner

Extra things to try (not for marks)

try {
   
Thread.sleep(1000);
}
catch(InterruptedException ex) {
   
Thread.currentThread().interrupt();
}

 

The 1000 is milliseconds so 2000 is a 2 second pause.