Boulder Dash TTJ

My 7th annual #TweetTweetJam entry is:  Boulder Dash TTJ ๐Ÿ’Ž
An attempt to demake the classic Boulder Dash in just 560 chars, using NO art assets!

CONTROLS

  • โฌ†๏ธโฌ‡๏ธโฌ…๏ธโžก๏ธ  = Move

FEATURES

  • ๐ŸŽฒ RND Cave Levels
  • ๐Ÿ”Š SFX
  • ๐ŸŽ Dodgy Collision & Physics*
  • ๐Ÿ’Ž Diamond Score
  • ๏ธโ™ป๏ธ Auto-Restart on Death (and Win)

*(Alas, I could only fit in basic collision & gravity - so no object "spill over", no boulders pushing and no explosions - sorry! ๐Ÿ˜•)

GAME ORIG SOURCE CODE (560 chars)

s=mset
g=mget
x=2y=3t=0z=0k=0cls()?"์›ƒโ—†โ—โ—†โ—\#5::",17,2
?"\#4โ–‘\vhโ–‘",8,2,0
?"๐Ÿฑ",17,0,5
memcpy(0,6^13,โ–ค)::_::cls()s(x,y,0)a=x
b=y
p=btnp()a+=p\2%2-p%2b+=p\8%2-p\4%2c=g(a,b)
if(c<4)x,y=a,b
if(c==3)z+=1?"\aszx5e1"
if(z>8)s(15,9)
s(x,y,2)for i=0,239do
v=16-i\16h=i%16if t<1then
c=rnd{0,1,1,1,1,1,1,1,3,4}
if(h<1or h>14or v<3or v>15)c=7
s(h,v-1,c)elseif t%3==0then
c=g(h,v)d=g(h,v+1)
if(c>2and c<5and d<1)s(h,v+1,c+2)s(h,v)
if c>4and c<7then
if d<1then
s(h,v+1,c)s(h,v)elseif d==2then
run()else
s(h,v,c-2)end
end
end
end
map()?"\^w9โ—†"..z
flip()
if(x>14)run()
t+=1goto _
Updated 9 days ago
Published 16 days ago
StatusReleased
PlatformsHTML5
AuthorPaul Nicholas (Liquidream)
GenrePuzzle
Made withPICO-8
Tags8-Bit, boulder, dash, PICO-8, Retro, tweettweetjam

Comments

Log in with itch.io to leave a comment.

(+2)

Another two-tweet stunner. Kudos!

If you did this with really verbose variables and comments as a "real cart" (but with no more fidelity/complexity), it might be a good instructive cart for beginning coders...

(+1)

Thank you, Tom ๐Ÿ˜Š


Ooh.. that's a good idea Tom, thanks.
I planned to do my usual code walkthrough post, but it didn't occur to me to potentially use this as something for beginners also (albeit with less "hacks" this one needed! ๐Ÿ˜‰). I'll think on that idea more. ๐Ÿ‘

Cool, yeah, because simple tile-by-tile movement games reduce complexity a lot.  Like Dylan Bennett's Top Down Adventure Tutorial. Much simpler than a lot of games.  Easy to explain.  Anyway, much more involved than my TweetTweet games heh!

(+1)

Just incredible. Well done!

Thanks a lot! ๐Ÿ˜Š