pico-8 cartridge // http://www.pico-8.com version 42 __lua__ -- function _init() y=(stat(80)-2025)*365*24*60*60 end function _update() m=stat(81)-8 d=stat(82) if(m>=0)then d=2-d else m= (m+1)*30 d=30-d end h=24-stat(83) mi=60-stat(84) s=60-stat(85) end function _draw() cls() print(m) print(d) print(h) print(mi) print(s) sprint('hi',56,20) sprint('it seems you only have',20,40) sprint(d..' days '..h..':'..mi..':'..s,30,64) sprint('to live',47,80) end function sprint(s,x,y) print(s,x,y,1) print(s,x-1,y-1,8) end __gfx__ 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 00700700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 00077000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 00077000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 00700700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000