Billabong: two-player strategy game written for TweetTweetJam 9

Published 2023-06-12


This is my entry to TweetTweetJam 9, a game jam where games had to be written with at most 500 characters of code. I ended up using 484 characters.

Billabong is a two player strategy game. Players take turns to flood the maze with coloured liquid. One player fills the maze with red liquid, the other with blue. 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 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, reset the cart to play again with another random maze.

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.

Tip: you don't have to wait for the flooding to stop to take your turn. If you're quick (and don't get confused by the maze) you can use your liquid to block your opponent's flood.

The entire source code of the game is: