CartridgeStorage

pico-8 cartridge // http://www.pico-8.com

version 32

\_\_lua\_\_

-- vs-breakout

-- by @kometbomb

-- called once when cart

-- is loaded

function \_init()

memset(0,17,9215)

pal({7,7},1)

a={92,23,1,1}

b={32,99,1,1}

end

-- run logic for next frame

function \_update()

end

-- draw current state to screen

function \_draw()

cls()

map()

rect(0,0,127,127,2)

for p=0,1 do

a,b=b,a

for n=1,4 do

i=n%2+1

f=n%2

b[i]+=b[i+2]

x,y=b[1],b[2]

if(pget(x,y)!=1-p) then

mset(x/8,y/8,1-p)

b[i+2]=-b[i+2]

b[i]=b[i]+b[i+2]

end

end

circfill(b[1],b[2],2,p)

end

end

\_\_gfx\_\_

00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

00700700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

00077000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

00077000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

00700700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

\_\_label\_\_

77777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777

77777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777

77777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777

77777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777

77777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777

77777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777

77777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777

77777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777

77777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777770007777777777777777777777777

77777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777700000777777777777777777777777

77777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777700000777777777777777777777777

77777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777700000777777777777777777777777

77777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777770007777777777777777777777777

77777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777

77777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777

77777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777

77777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777

77777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777

77777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777

77777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777

77777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777

77777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777

77777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777

77777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777

77777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777

77777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777

77777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777

77777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777

77777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777

77777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777

77777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777

77777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777

77777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777

77777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777

77777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777

77777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777

77777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777

77777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777

77777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777

77777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777

77777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777

77777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777

77777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777

77777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777

77777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777

77777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777

77777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777

77777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777

77777777777777777777777700000000777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777

77777777777777777777777700000000777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777

77777777777777777777777700000000777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777

77777777777777777777777700000000777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777

77777777777777777777777700000000777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777

77777777777777777777777700000000777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777

77777777777777777777777700000000777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777

77777777777777777777777700000000777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777

70000000777777777777777700000000000000007777777777777777777777777777777777777777777777777777777777777777777777777777777700000007

70000000777777777777777700000000000000007777777777777777777777777777777777777777777777777777777777777777777777777777777700000007

70000000777777777777777700000000000000007777777777777777777777777777777777777777777777777777777777777777777777777777777700000007

70000000777777777777777700000000000000007777777777777777777777777777777777777777777777777777777777777777777777777777777700000007

70000000777777777777777700000000000000007777777777777777777777777777777777777777777777777777777777777777777777777777777700000007

70000000777777777777777700000000000000007777777777777777777777777777777777777777777777777777777777777777777777777777777700000007

70000000777777777777777700000000000000007777777777777777777777777777777777777777777777777777777777777777777777777777777700000007

70000000777777777777777700000000000000007777777777777777777777777777777777777777777777777777777777777777777777777777777700000007

70000000000000000000000000000000000000007777777700000000000000000000000000000000000000000000000000000000000000000000000000000007

70000000000000000000000000000000000000007777777700000000000000000000000000000000000000000000000000000000000000000000000000000007

70000000000000000000000000000000000000007777777700000000000000000000000000000000000000000000000000000000000000000000000000000007

70000000000000000000000000000000000000007777777700000000000000000000000000000000000000000000000000000000000000000000000000000007

70000000000000000000000000000000000000007777777700000000000000000000000000000000000000000000000000000000000000000000000000000007

70000000000000000000000000000000000000007777777700000000000000000000000000000000000000000000000000000000000000000000000000000007

70000000000000000000000000000000000000007777777700000000000000000000000000000000000000000000000000000000000000000000000000000007

70000000000000000000000000000000000000007777777700000000000000000000000000000000000000000000000000000000000000000000000000000007

70000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007

70000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007

70000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007

70000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007

70000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007

70000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007

70000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007

70000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007

70000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007

70000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007

70000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007

70000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007

70000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007

70000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007

70000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007

70000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007

70000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007

70000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007

70000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000077700000000000000000000000000000007

70000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000777770000000000000000000000000000007

70000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000777770000000000000000000000000000007

70000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000777770000000000000000000000000000007

70000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000077700000000000000000000000000000007

70000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007

70000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007

70000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007

70000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007

70000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007

70000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007

70000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007

70000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007

70000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007

70000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007

70000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007

70000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007

70000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007

70000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007

70000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007

70000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007

70000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007

70000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007

70000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007

70000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007

70000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007

70000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007

70000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007

70000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007

70000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007

70000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007

70000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007

70000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007

70000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007

70000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007

70000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007

70000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007

77777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777