Skip to main content

Search

Items tagged with: codegolf


A friend of mine minified Bitshift Variations in C Minor down to 179 bytes:

gcc -xc -oa -<<<'i;n;g(m,t,o){m=("GTj?TG?5"[7&t]+!(n&12|t&2)*9)*i>>o&m&24;}main(s){for(;;putchar(g(8,n=s>>4,8)+g(n,n^s/8,6)+g(n/3,n+s/2%3,6)+g(n/5,n-s%3,5)))s=++i>>10;}';./a|aplay

#bytebeat #programming #codegolf #chiptune