Eliminated use of double submitBtn.onclick function
  //should have only one.  NEW code created two states for game:
One is game mode, the other is not game mode.