function startGame() {
  //initalzing the game varaibles
  mistakeCounter = 0;
  progress = 0;
  gamePlaying = true;

  //swaps the start and stop buttons when player starts game
  document.getElementById("startBtn").classList.add("hidden");
  document.getElementById("stopBtn").classList.remove("hidden");

  //calls the functiont to play the sequence that should be repeared
  playClueSequence();
}
//called when the user wants to start the game
called when the user wants to start the game
called when the user wants to start the game
function startGame() {
  mistakeCounter = 0;
  progress = 0;
  gamePlaying = true;
  document.getElementById("startBtn").classList.add("hidden");
  document.getElementById("stopBtn").classList.remove("hidden");
  playClueSequence();
}
function startGame ( ) { mistakeCounter = 0 ; progress = 0 ; gamePlaying = true ; document . getElementById ( "startBtn" ) . classList . add ( "hidden" ) ; document . getElementById ( "stopBtn" ) . classList . remove ( "hidden" ) ; playClueSequence ( ) ; }
called when the user wants to start the game
called when the user wants to start the game
//initalzing the game varaibles //swaps the start and stop buttons when player starts game //calls the functiont to play the sequence that should be repeared