Last active
December 5, 2018 15:02
-
-
Save whitneyburton/88584c3d5d33c5015d0b32b67807d0d1 to your computer and use it in GitHub Desktop.
Whitney & Kristen Jeopardy OOP Diagram
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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