Created
March 31, 2022 20:44
-
-
Save matiasmicheletto/9e3ab2cb6521deee47120701509d5442 to your computer and use it in GitHub Desktop.
Roflcopter for NodeJS!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const frame = [ | |
["\n\n\n\n","ROFL:ROFL:LOL\n"," ___^_____\n"," L __/ [] \\\n"," O === \\\n"," L \\____________]\n"," I I\n"," ------------/\n"], | |
["\n\n\n\n"," :LOL:ROFL:ROFL\n"," ___^_____\n"," __/ [] \\\n","LOL=== \\\n"," \\____________]\n"," I I\n"," ------------/\n"] | |
]; | |
let index=0; | |
setInterval(()=>{ | |
console.clear(); | |
console.log(frame[(index++)%2].join(' '.repeat(index))); | |
}, 100); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment