Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created November 2, 2020 18:33
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 parzibyte/b3146c2d71828c702dd51f3a57050d53 to your computer and use it in GitHub Desktop.
Save parzibyte/b3146c2d71828c702dd51f3a57050d53 to your computer and use it in GitHub Desktop.
resumeGame() {
this.sounds.background.play();
this.refreshScore();
this.paused = false;
this.canPlay = true;
this.intervalId = setInterval(this.mainLoop.bind(this), Game.PIECE_SPEED);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment