Using 2018/mills (an amazing entry) with trial and error I was able to determine the approximate speed that the :-) moved across the screen and now the alt code moves at almost exactly (I believe, at least) that speed. The mullender.alt2.c was deleted; instead that became mullender.alt.c. This is because (I believe but have not confirmed) that the original did not exit after it timed out and there's no need to have two alt versions when they're so similar. One is good enough and the obvious choice is the one that can keep going on. .gitignore updated.
2 lines
137 B
C
2 lines
137 B
C
main(i,v)char**v;{j:i=v[1]?atoi(v[1]):190000;i=i<5000?5000:i;do write(1," :-)\b\b\b\b",9),usleep(i);while(--i);write(1,"\n",1);goto j;}
|