Removed the break; statements from the  while(!pHasFinished) loops
because they were causing the loop to terminate without waiting for the
player's input.