toaruos/userspace/fire.c
2012-02-07 00:11:49 -06:00

10 lines
373 B
C

/* http://a1k0n.net/2007/08/24/obfuscated-c-fire.html */
void usleep(int i) {
for (unsigned int j = 0; j < 0xFFFFFF; ++j) {
__asm__ __volatile__("nop");
}
}
b[2080];main(j){for(;;){printf("\x1b[H");for(j=1;j<2080;j++)b[j]=j<
2000?(b[j+79]+b[j+80]+b[j]+b[j-1]+b[j+81])/5:rand()%4?0:512,j<1840?
putchar((j%80)==79?'\n':" .:*#$H@"[b[j]>>5]):0;usleep(20000);}}