User Tools

Site Tools


celebrity_lab

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
celebrity_lab [2023/02/28 09:34] frchriscelebrity_lab [2023/03/02 23:16] (current) frchris
Line 1: Line 1:
 **Celebrity Lab** **Celebrity Lab**
 +
 +{{::celeberty.png?400|}}
  
 {{ ::ap-computer-science-a-celebrity-lab-student-guide.pdf | Student Lab Manual}}.  Activities 1 and 2 involve Socrative. {{ ::ap-computer-science-a-celebrity-lab-student-guide.pdf | Student Lab Manual}}.  Activities 1 and 2 involve Socrative.
Line 5: Line 7:
 {{ ::celebstudentcode.zip |Starter Code (needs to be unzipped}} {{ ::celebstudentcode.zip |Starter Code (needs to be unzipped}}
  
-{{ ::celebritytester.java |CelebrityTester.java}} starter code+{{ ::celebritytester.java |CelebrityTester.java}} tests the Celebrity class  
 + 
 +{{ ::celebrityrunner.java |CelebrityRunner.java}} 
 + 
 +{{ ::celebrityframe.java |CelebrityFrame.java}} 
 + 
 +{{ ::celebritypanel.java |CelebrityPanel.java}} 
 + 
 +{{ ::startpanel.java |StartPanel.java}}
  
 [[https://docs.oracle.com/javase/tutorial/uiswing/components/index.html|Java GUI tutorial]] [[https://docs.oracle.com/javase/tutorial/uiswing/components/index.html|Java GUI tutorial]]
  
-[[https://www.youtube.com/watch?v=mqMk0zCuLCY|Mr. Henricksen's Tour of the Celebrity Lab Code]]+[[https://www.youtube.com/watch?v=mqMk0zCuLCY|Mr. Henrichsen's Tour of the Celebrity Lab Code]] 
 + 
 +If you would like to quickly load up some celebrities, add this method to ''CelebrityGame'', and call it in the constructor after initializing the celebGameList. 
 + 
 +<code> 
 + public void loadUpCelebrityList(ArrayList<Celebrity> list) 
 +    { 
 +        list.add(new Celebrity(" Keanu Reeves"," I dodged bullets in slow motion")); 
 +        list.add(new Celebrity(" Barney","I am purple")); 
 +        list.add(new Celebrity(" Dwayne Johnson"," wrestler and movie star")); 
 +        list.add(new Celebrity(" the hamburger"," Ronald McDonald evil henchman")); 
 +        list.add(new Celebrity(" Elmo"," he lives on Sesame Street")); 
 +        list.add(new Celebrity(" Dwayne Johnson"," his nickname is another word for Boulder")); 
 +        list.add(new Celebrity(" Barney"," big, purple, dinosaur tail")); 
 +        list.add(new Celebrity(" Ewan McGregor"," hello there")); 
 +        list.add(new Celebrity(" Vladimir Putin"," I am the richest man in the world, but I still miss the old days")); 
 +        list.add(new Celebrity(" Clayton Kershaw"," my future is uncertain, but I believe my best color is blue")); 
 +        list.add(new Celebrity(" Amy Adams"," I was in the arrival movie")); 
 +        list.add(new Celebrity(" Big Bird"," I am 6 feet tall and covered with yellow feathers")); 
 +        list.add(new Celebrity(" Kanye West"," I made college dropout")); 
 +        list.add(new Celebrity("Jungkook"," youngest member of BTS")); 
 +        list.add(new Celebrity(" Kanye West"," I make music and sell sneakers")); 
 +        list.add(new Celebrity(" Johnny Depp","I am a sparrow that would like a black pearl")); 
 +        //2023 
 +        list.add(new Celebrity("Walter White-Heisenburg","I am a cook like no other.  My recipes are not even eaten.  I like what I do until the die I die.  I love my baby, the color of the sky.")); 
 +        list.add(new Celebrity("The Rock","Larger than a pepple but smaller that a boulder")); 
 +        list.add(new Celebrity("Tom Holland","It says Holland but I'm not Dutch")); 
 +        list.add(new Celebrity("Tom Cruise","I start as a cartoon cat, and end as journey across the sea.")); 
 +        list.add(new Celebrity("Han Solo","Who is the lonlyest in Star Wars? ")); 
 +        list.add(new Celebrity("Kanye West","I made graduation")); 
 +        list.add(new Celebrity("Christian Bale","I am like a bunch of hay in a church.")); 
 +        list.add(new Celebrity("Sal Goodman","I fight for Albequerque, you better call me.")); 
 +        list.add(new Celebrity("Batman","Vengeance")); 
 +        list.add(new Celebrity("Mario","I fight spikey turtles")); 
 +        list.add(new Celebrity("Curious George","I want to know more about the Man who wears a yellow Hat.")); 
 +    } 
 +    </code>
  
celebrity_lab.1677594893.txt.gz · Last modified: 2023/02/28 09:34 by frchris

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki