checkUnlockBuyableItems() {
    if (this.score >= 10 && !this.sleepyCat) {
      this.sleepyCat = new BuyableItem('Sleepy Cat', 50, 1, 2);
      UI.unlockBuyableItem('Sleepy Cat');
    } else if (this.score >= 100 && !this.HTMLBaby) {
      this.HTMLBaby = new BuyableItem('HTML Baby', 150, 1, 3);
      UI.unlockBuyableItem('HTML Baby');
    } else if (this.score >= 250 && !this.outsourceEveything) {
      this.outsourceEveything = new BuyableItem('Outsource Everything', 300, 1, 6);
      UI.unlockBuyableItem('Outsource Everything');
    } else if (this.score >= 750 && !this.skynet) {
      this.skynet = new BuyableItem('Skynet', 1000, 1, 15);
      UI.unlockBuyableItem('Skynet');
    }
  }
// checks and unlocks helpers if player has enough commits
checks and unlocks helpers if player has enough commits
checks and unlocks helpers if player has enough commits
checkUnlockBuyableItems() {
    if (this.score >= 10 && !this.sleepyCat) {
      this.sleepyCat = new BuyableItem('Sleepy Cat', 50, 1, 2);
      UI.unlockBuyableItem('Sleepy Cat');
    } else if (this.score >= 100 && !this.HTMLBaby) {
      this.HTMLBaby = new BuyableItem('HTML Baby', 150, 1, 3);
      UI.unlockBuyableItem('HTML Baby');
    } else if (this.score >= 250 && !this.outsourceEveything) {
      this.outsourceEveything = new BuyableItem('Outsource Everything', 300, 1, 6);
      UI.unlockBuyableItem('Outsource Everything');
    } else if (this.score >= 750 && !this.skynet) {
      this.skynet = new BuyableItem('Skynet', 1000, 1, 15);
      UI.unlockBuyableItem('Skynet');
    }
  }
checkUnlockBuyableItems ( ) { if ( this . score >= 10 && ! this . sleepyCat ) { this . sleepyCat = new BuyableItem ( 'Sleepy Cat' , 50 , 1 , 2 ) ; UI . unlockBuyableItem ( 'Sleepy Cat' ) ; } else if ( this . score >= 100 && ! this . HTMLBaby ) { this . HTMLBaby = new BuyableItem ( 'HTML Baby' , 150 , 1 , 3 ) ; UI . unlockBuyableItem ( 'HTML Baby' ) ; } else if ( this . score >= 250 && ! this . outsourceEveything ) { this . outsourceEveything = new BuyableItem ( 'Outsource Everything' , 300 , 1 , 6 ) ; UI . unlockBuyableItem ( 'Outsource Everything' ) ; } else if ( this . score >= 750 && ! this . skynet ) { this . skynet = new BuyableItem ( 'Skynet' , 1000 , 1 , 15 ) ; UI . unlockBuyableItem ( 'Skynet' ) ; } }
checks and unlocks helpers if player has enough commits
checks and unlocks helpers if player has enough commits