can you do if (triesLeft === 0) ?