A seven-segment display countdown implemented in a tweetcart.

Remix it on pico-8-edu.com

This cart is tweetable at just 280 characters.

cls()k=0::_::k+=1if(k==270)k=0flip()
f=k%15p=k\15%6i=k\90-1j=p*20-5+p\2*4a,c,d=-5+abs(i),i,i
b=-a
x,y=f\5+1,f%5+1s=-t()%60\1
if(x!=2)a,b,c,d=c,d,a,b
if((x+y)%2>0)line(j+x*7+a,y*7+c,j+x*7+b,y*7+d,({8,31,65,3,22,34,32,27,0,2})[({2,3,5,9,s\10,s%10})[p+1]+1]&1<<f\2>0and 1or 9)
goto _

About

See the explainer on GitHub

Acknowledgements

Based on the clock from the 24 TV Series

Leave a comment

Log in with itch.io to leave a comment.