gameWon method
Returns true if the game is won, false otherwise
Implementation
bool gameWon() {
return this.getDozer().score >= this.targetScore;
}
Returns true if the game is won, false otherwise
bool gameWon() {
return this.getDozer().score >= this.targetScore;
}