Published using Google Docs
As1 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 grew into the music icon he is today.  This assignment is dedicated to that time, not so long ago.

Set up

        

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 _____ who is age ____.  

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

___________  (lines one and 2 are printed)

Yo dawg that was the shizzle.

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

And here comes his rap:

_____  (lines one and 2 are printed)

Daaang. This is going to be close.

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

Now it is time to announce your winner (after an age bonus)

Extra Challenge - Not for marks:

Add some Bonus Rap Points to your scoring (before averages are calculated)

Pausing between rap lines

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

 

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