Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
A jam submission

1K Circuit Connect #Pico1kView game page

Connect all the elements to each other. A game in 1022 Compressed Bytes of code for PICO-1K Jam 2026
Submitted by SkyBerron (@SkyBerron) — 18 days, 21 hours before the deadline
Add to collection

Play game

1K Circuit Connect #Pico1k's itch.io page

Compressed Bytes used
1022

Source Code (OPTIONAL)
_set_fps(60)poke(24405,0)
?"\^:00183ce6e63c1800\^:18183c66663c1800\^:181838f8f0000000\^:00183c67673c1800\^:000000ffff000000\^:18181c1f0f000000\^:18183cffff000000\^:00183c66663c1818\^:000000f0f8381818\^:1818181818181818\^:181838f8f8381818\^:0000000f1f1c1818\^:000000ffff3c1818\^:18181c1f1f1c1818\^:18183cffff3c1818",8,0,1
?"♪◆✽웃♥●⧗☉★⌂➡️⬆️❎🐱😐█\n\^wabdefhijlm0ptvwy\n\^w123456789𝘢𝘣𝘦𝘧𝘩𝘪𝘫",0,64,1
poke(24405,96)l=0o=128w="ready!!!"?"\asfedefecc"
::s::p={}x=8y=8g=0
for i=0,255do
a=sget(i%16*7/16+l%16*8,i\16*5/16+l\16%3*6+64)p[1+i]=0
if(a>0)p[1+i]=16u=i%16v=i\16g+=1
end
e=0
s={{u,v,0}}while#s>0do
e+=1j=1+rnd(#s)\1q=s[j]
s[j]=s[#s]s[#s]=nil
if p[1+q[2]*16+q[1]]&48==16do
i=q[3]%4
c=cos(i/4)d=sin(i/4)m=c+q[1]n=d+q[2]
if e>1and m==mid(m,15)and n==mid(n,15)do
p[1+q[2]*16+q[1]]|=1<<(i%4)
p[1+n*16+m]|=1<<((i+2)%4)
end
p[1+q[2]*16+q[1]]|=32
for i=0,3do
c=cos(i/4)d=sin(i/4)m=c+q[1]n=d+q[2]
if m==mid(m,15)and n==mid(n,15)do
if p[1+n*16+m]&48==16do
add(s,{m,n,i+2})
end
end
end
end
end
for i=0,255do
a=p[1+i]&15
for j=rnd(3)\1,2do
a=((a\8)|(a*2))&15
end
p[1+i]=a
end
::_::cls()
if(w!="well done!!!")camera(0,-max(o))
for i=0,255do
p[1+i]&=15
end
f=0
s={{u,v}}while#s>0do
q=s[#s]s[#s]=nil
i=1+q[1]+q[2]*16
if p[i]<16do
p[i]|=16f+=1
if(p[i]&4>0and q[1]>0)if(p[i-1]&1>0)add(s,{q[1]-1,q[2]})
if(p[i]&1>0and q[1]<15)if(p[i+1]&4>0)add(s,{q[1]+1,q[2]})
if(p[i]&2>0and q[2]>0)if(p[i-16]&8>0)add(s,{q[1],q[2]-1})
if(p[i]&8>0and q[2]<15)if(p[i+16]&2>0)add(s,{q[1],q[2]+1})
end
end
for i=0,255do
a=p[1+i]
pal(1,a>15and(w=="well done!!!"and o\16%2or 0)+12or 5)
if(a>0)spr(a&15,i%16*8,i\16*8)
pal(1,1)
end
if o<0do
x=mid(15,x+btnp()\2%2-btnp()%2)y=mid(15,y+btnp()\8%2-btnp()\4%2)
a=p[1+y*16+x]&15
if(a>0and btnp(4))a=((a\8)|(a*2))&15?"\as4i5c"
if(a>0and btnp(5))a=((a*8)|(a\2))&15?"\as4i5c"
p[1+y*16+x]=a
rect(x*8-1,y*8-1,x*8+8,y*8+8,o\16%2+9)
if(f==g)o=128w="well done!!!"
?(f*100\g).."%",0,0,6
end
camera()
if(o>=0)o-=1
if(o<0and w=="well done!!!")l+=1o=128w="level "..(l+1)goto s
if(o<0and w!="")w=""
?"\^w\^t\^o15a"..w,64-#w*4,56,10
flip()goto _

Leave a comment

Log in with itch.io to leave a comment.

Comments

Submitted

Incredible! Well done.