gameLost method
Returns true if the game is lost, false otherwise
Implementation
bool gameLost() {
  return this.timeLimit <= 0 || this.getDozer().score <= 0;
}
    Returns true if the game is lost, false otherwise
bool gameLost() {
  return this.timeLimit <= 0 || this.getDozer().score <= 0;
}