A tiny two-player strategy game, written for TweetTweetJam 9 in just 484 characters of code.

There are two players, red and blue. The players take turns to flood the channels with their colour. The player who fills the most of the screen with their colour wins.

To start flooding a channel, tap the screen if playing on a mobile device, or click with the mouse if playing on a desktop machine. The game works best on a mobile device so that the players don't have to fight over share a single mouse.

The stats display at the bottom of the screen shows the players' scores and who has the next turn.

When a game is complete, press Enter to bring up the pause menu and select the Reset Cart option to reset the game and play again on another random board.

Because this was written for TweetTweetJam, some niceties had to be dropped to fit into 500 characters.  There's no title screen, music or sound, and the game doesn't detect the end of the game and display the winner.  Also, there wasn't room for a safety check to ensure that the flood-fill algorithm doesn't exhaust Pico-8's available memory, but this doesn't seem to cause a problem in practice.

The entire source code of the game is:

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 _


Updated 7 days ago
Published 11 days ago
StatusReleased
PlatformsWindows, macOS, Linux, HTML5
Rating
Rated 2.0 out of 5 stars
(1 total ratings)
Authordredds
GenreStrategy
Made withPICO-8
TagsMultiplayer, PICO-8, tweettweetjam
Average sessionA few minutes
InputsMouse, Touchscreen
MultiplayerLocal multiplayer
Player count1 - 2

Download

Download
billabong-ttj9.p8.png 6 kB
Download
billabong-ttj9_linux.zip 742 kB
Download
billabong-ttj9_osx.zip 7 MB
Download
billabong-ttj9_raspi.zip 2 MB
Download
billabong-ttj9_windows.zip 981 kB

Development log

Comments

Log in with itch.io to leave a comment.

(1 edit)

very cute little idea :) impressive work squeezing it so small. love that you can play quick to cut off someone's flooding, but it spends your turn

This game is really satisfying! The looks are polished, the colors chosen fit the title / brand :D