Skip to content

Instantly share code, notes, and snippets.

@whitneyburton
Last active December 5, 2018 15:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save whitneyburton/88584c3d5d33c5015d0b32b67807d0d1 to your computer and use it in GitHub Desktop.
Save whitneyburton/88584c3d5d33c5015d0b32b67807d0d1 to your computer and use it in GitHub Desktop.
Whitney & Kristen Jeopardy OOP Diagram
class Game()
round
players
categories
questions
potential methods: startGame() {}, endGame() {}, updateRound() {}
class Player()
name
score
turn
potential methods: updateScore() {}, updateTurns() {}
class Clue()
question
pointValue
answer
categoryID
potential methods: submitPlayerGuess() {}
// dailyDouble will extend Clue and use super to grab those properties
class dailyDouble extends Clue
super(question, pointValue, answer, categoryID);
potential method: submitWager() {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment