Loading
notes intro/old submit AP Problems the dump links
 

Jeopardy Game

 

We together are going to create a Portland trivia jeopardy game.

 

Using the interface below:

In groups of 2, Create a class that will use this interface (name the class anything you want):

 

So if your class is called Restaurants, I might do this:

//HAVE 2 globals: int difficulty and boolean isUsed

Restaurants q1=new Restaurant();
q1.setDifficulty(1);
print out (q1.getQuestion());  //This might look like:  What street is Deering on?  1. Brighton 2. Woodfords 3.Stevens 4.Forest     [this would be one of 5 questions depending on difficulty]
check--- q1.isUsed();  //will return true if I have already gotten it
print out--- q1.categoryDescription()    
checks---  q1.checkAnswer(3)  //this would return true if 3 is the correct answer

    

 

NOTE: ALL ANSWERS MUST BE INTS