Skip to content

Instantly share code, notes, and snippets.

@atebitftw
Created June 1, 2012 18:24
Show Gist options
  • Save atebitftw/2854180 to your computer and use it in GitHub Desktop.
Save atebitftw/2854180 to your computer and use it in GitHub Desktop.
Code Golf - Rick Roll
void main(){var c="DEF>G~DEH>I~DEJK)L>~DEB>M~DENO~DE=PQ)R>~~";var d="STU9V*W~XYZ[\\~]^_#N`~abc&dZef~g&'h)iEj`~";var e="~DEvDEF~x>t~";var o='';' !"#\$~%&\'()*+,~-./0123~%456789:~,;<=>?1@~AB>C~~$c${d}kl>mn?1@~o=np^q#r~~$c${c}sF>t~sF>t~u${e}u$e~$d~,;<=>?1@~AB>C~~$c$c$c'.charCodes().forEach((i)=>o+=i==126?'\n':'${"We're no strangers to love You know the rules and so do I A full commitment's what I'm thinking of wouldn't get this from any other guy just wanna tell you how feeling Gotta make understand Never gonna give up let down run around desert cry say goodbye a lie hurt We've known each for long Your heart's been aching but You're too shy it Inside we both what's going on We game we're play And if ask me Don't you're blind see (Ooh, up) (Ooh) give, never (Give".split(' ')[i-32]} ');print(o);}
@atebitftw
Copy link
Author

819 bytes on the first pass.

@branflake2267
Copy link

That is pretty cool :)

@atebitftw
Copy link
Author

802b now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment