Skip to main content

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

BillabongView game page

A tiny shared-screen multiplayer real-time strategy game for two players
Submitted by dredds — 5 days, 5 hours before the deadline
Add to collection

Play game

Billabong's itch.io page

How many characters of code did you use?
484

Include your code here, if you'd like to show it off!
a=add
k=poke
t=stat
g=sget
k(24365,3)k(24405)cls(13)for y=1,122,5do
for x=1,122,6do?rnd{"◜","◝"},x,y,2
end
end
rect(0,0,127,121,6)k(24405,96)f={}s={0,0}p=1::_::px=t(32)py=t(33)if(btnp(5)and py<120and g(px,py)==13)a(f,{p,px,py})p=3-p
n={}while#f>0do
q,x,y=unpack(deli(f))if g(x,y)==13then
sset(x,y,4+4*q)s[q]+=1a(n,{q,x,y+1})a(n,{q,x,y-1})a(n,{q,x+1,y})a(n,{q,x-1,y})end
end
f=n
cls()spr(0,0,0,16,15.3)circ(px,py,1,7)x=?s[1],1,123,8
x=?chr(21+p),x+1,123,7
?s[2],x+1,123,12
flip()goto _

Leave a comment

Log in with itch.io to leave a comment.

Comments

Submitted

This is really cool (+really well-presented).
I love how the flood fill looks like you really are flooding with coloured fluid.
I was playing with myself and I'm ashamed to say ...I lost! (j/k😜)
Nice entry👍

Developer

Thank you.

Developer (1 edit)

I have posted the annotated source code of the latest version that explains how the game works and tricks I used to squeeze it into 484 characters.

https://dredds.itch.io/billabong/devlog/729963/annotated-source-code-for-the-latest-version

Developer

I managed to squeeze a lot more space out of the code (about 40 characters!) and used it to improve the visuals and still reduce the overall character count to 484. The new version is available on the project page.

Submitted

I'm genuinely surprised a game with this quality can exist in 496 characters! The way the map gets filled with color is done so smoothly!

Great job!

Developer

Thank you. I was surprised too!

When I saw how the flood fill algorithm and the narrow, diagonal channels created by the Truchet tiles combine to create really pleasing flows, I just had to double down on the concept and eliminate anything that got in the way of implementing it in under 500 characters. It was a challenge, but I am very happy with the end result.

Developer (1 edit)

I’ve uploaded a new version that fixes an annoying bug. The game would waste a turn if you clicked/tapped on the score panel. Now it detects and ignores input on the score panel.

Submitted

Really cool! I learned about a few new tricks from reading your code.

Developer

Thank you. I plan to post a devlog article with commented source explaining the tricks I used.

Developer

Thank you for your kind words, everyone. I really appreciate it.

Submitted

This is so cool, I particularly like the filling effect!

Submitted

Smoothly done, I keep forgetting about this simple maze creation type and you’ve made beautiful use of it. Really good work!

Developer

Thank you. When I noticed the two Truchet tiles in the Pico-8 character set (characters 254 and 255), I couldn’t resist using them.

Submitted

There's a lot of clever stuff going on here, especially the flood fill algorithm, plus this could get quite frenetic on a touch screen. 

I really like this.

Developer

Thank you. I think it would work well on an iPad and even support more than two players. Something I’ll have to experiment with in the future.