Please enable JavaScript to use CodeHS

Texas Computer Science 2

Celebrity Lab

Students discuss class design as it relates to the game Celebrity, where a person or team tries to guess the name of a celebrity from a given clue or set of clues.

Lessons

10.2 Activity 2: The Celebrity Class: A Simple Version

  • Celebrity Class: A Simple Version
  • Celebrity Constructor

10.3 Activity 3: Putting it All Together

  • Set up Constructors
  • Setting up the Game
  • Complete Game Play Methods
  • Check Your Understanding
  • Tracing Black Box Functions
  • +1 more

10.4 Activity 4: Extending the Celebrity Class

  • Extending the Celebrity Class
  • Literature Celebrity
  • Custom Celebrity
  • Updating CelebrityGame
  • Updating the GUI

Courses that include this module