DownRight Dungeon - ( PICO-1K Jam 2024)
In this DungeonCrawlerRogueIshBuzzword thingy you can only move DOWN or RIGHT,hence the name.
This is my submission to PICO-1K Jam 2024. In this Jam you have to create a game that is no bigger than 1k of compressed bytes.
How To Play
Your goal is to reach the stairs at the bottom right. Unfortunately, you canโt see whatโs in the adjacent rooms, so youโll have to choose blindly. Use the ARROW KEYS (only right or down) to move.
There are several things you can encounter.
Chest
Roll a dice to determine your loot.
Monster
A monster appears. You take turns rolling the dice to determine the damage dealt or received.
Store
Exchange your coins for HP or leave the store.
Updates
16.9.24 - Thanks to sizecape I was able to free up some bytes and include a rule pulled straight from one of the inspirations (the brilliant Mini Rogue, thanks for finding it Bernardo Olafson) . Stepping on a new tile now reveals its two neighbors, giving you a choice and hopefully allowing for more agency. Thank you so much!
About
This game is a cute, rogue-like inspired by various roguelike card games. Here is the code:
๐ฐ={[0]={},{2,2,6,6},{2,2,2,6,6,2,6,6},{2,2,2,4,2,6,6,2,6,4,6,6}}i=0d=0โฅ=2โ=0l=1e=0โ =32o=1a=0c=0f=true s=btnp ๐ณ=rnd n=pget r=rectfill reload(4096,4096,8192)mset(3,3,5)mset(0,0,1)mset(1,0,2)mset(0,1,3)โ={"?","p๐ข๐ต๐ฉ","c๐ฉ๐ฆ๐ด๐ต","m๐ฐ๐ฏ๐ด๐ต๐ฆ๐ณ","s๐ต๐ฐ๐ณ๐ฆ","s๐ต๐ข๐ช๐ณ๐ด","g๐ข๐ฎ๐ฆ o๐ท๐ฆ๐ณ"}๐ต={"โ","โ","โฅ","โฅ","",""}n=2function _draw()cls()if(c>t())camera(sin(time()*10)) ?โ[n],52,49,7 if(t()<e and="" f)o="flr(rnd(6))+1" if="" n="=2do" for="" f="0,3do" e="0,3do" r(f*โ ,e*โ ,f*โ +30,e*โ +30,mget(f,e)+1)print(โ[mget(f,e)+1],3+f*โ ,25+e*โ ,7)end="" end?"๐",i*โ +11,d*โ +10+sin(t()),7="" ?"์",i*โ +11,d*โ +14,7="" and(s(โฌ๏ธ)or="" s(โก๏ธ))do="" if(s(โก๏ธ)and="" i<3)i+="1โ()" if(s(โฌ๏ธ)and="" d<3)d+="1โ()" elseif="" not="" do="" if(t()="">e)n=mget(i,d)+1e=t()+3a=flr(rnd(3)+1)*l f=true end elseif n==7do elseif n==5do if(s(โฌ ๏ธ)and โ>0)โ-=1โฅ+=1 if(s(โก๏ธ))๐() ?"1โ->1โฅ e๐น๐ช๐ต",25,93,7 ?" โฌ ๏ธ โก๏ธ",25,99,2 elseif n==6do if(t()>e)โฅ+=1l+=1n=2i=0d=0f=true ๐ฆ() elseif n==4do?"๐ฑ",56,26+sin(t()),8 ?"์"..max(0,a).."โฅ",56,30,8 ?"๐",56,72+sin(t()),8 ?"์"..max(0,โฅ).."โฅ",56,76,8 if โฅ>0and a>0do if f do u(59,90,o)if(t()>e)c=t()+.2a-=o else local f=mid(1,flr(o/3*l),6)u(59,38,f)if(t()>e)c=t()+.2โฅ-=f end if(t()>e)e=t()+3f=not f else if(not f)u(59,90,o) if a>0do?" w๐ช๐ฏ๐ด",50,58,7 else?" l๐ฐ๐ฐ๐ด๐ฆ๐ด",50,58,7 end if(t()>e)๐()โ+=flr(l/2) end elseif n==3do u(57,60,o)if(t()>e and f)f=false e=t()+3color(7) if(t()>e and not f)๐()๐ด(o) ?๐ต[o],58,78 end?"ยฒ "..max(0,โฅ).."โฅ "..โ.."โ "..l.."โฌ๏ธ",40,1,7 end function ๐ด(f)if(f<3)โ+=1 if(f>2and f<5)โฅ+=l end function u(f,e,n)r(f,e,f+8,e+8,8)if(n%2==1)pset(f+4,e+4,7) local i={[0]={},{2,2,6,6},{2,2,2,6,6,2,6,6},{2,2,2,4,2,6,6,2,6,4,6,6}}for d=1,#i[n\2],2do pset(f+i[n\2][d],e+i[n\2][d+1],7)end end function ๐ฆ()reload(4096,4096,8192)mset(3,3,5)mset(0,0,1)โ()end function ๐()if(โฅ>0)f=true n=2 if(โฅ<1)n=7 end function โ()f=false if(i+d+1~=6)mset(i,d+1,rnd(4)+1)mset(i+1,d,rnd(4)+1) e=t()+1end
Comments
Log in with itch.io to leave a comment.
Loved this little game! Died on floor 9 because those monsters were hitting hard ๐ but man this was fun! Great Job!
Also what's all the numbers and such you posted above? Looks like a reason to run away from math ๐คฃ
It's cute, but it's practically pure luck. It's impossible to strategize, and you only get to make two choices: "right or down" (for which you have no information) and spending money in the store.
I'm glad you got something working in 1k, but there's kind of not much there.
Thanks for that review, I'll revisit this if I find time.
EDIT: I changed it, stepping on a new tile now reveals it's neighbors, hopefully giving you a feeling of agency. Thanks for the feedback!