6 ms·
You can replace the two " with ` so that the code in setInterval is still treated as a string. Also, see the section: q?'♥':Y=1 The code is minimized by sett
by damiankennedy 3y ago
You can replace the two " with ` so that the code in setInterval is still treated as a string.
Also, see the section:
q?'♥':Y=1
The code is minimized by setting Y back to 1 instead of providing a character to display but this has the visual side effect of "squashing" the player when they are run over.