Cocci

Cocci

This game is from the old Ludum Dare platform. You can try viewing the original page on Web Archive
(may not load correctly).
Description:

As my first ever submission to Ludum Dare, here is Cocci. In this game you guide a colony of bacteria (initially red [and created as a Brownian tree]) down a tunnel, trying to minimize collisions with the walls (blue) and obstacles (yellow). As you progress, you will unavoidably run into something. When a collision happens, the section of your colony that collided dies, while surviving bacterium mutate and replicate, creating new members. As you continue, the shape of your colony evolves, sometimes helping you avoid obstacles (an advantageous mutation), sometimes making them unavoidable (deleterious mutation).

The title of the window tells you how many collisions you've had. The right most number in for the current session. The previous numbers are for previous sessions. A "*" denotes that the session wasn't finished.

Controls:

Arrow keys move

Space starts and resets

Escape exits

Resources:

I used Java, LWJGL, Slick-Util, Eclipse, and Audacity for this project.

I started with this base code: http://lwjgl.org/wiki/index.php?title=LWJGL_Basics_3_(The_Quad)

I used some code from here for sound:

http://lwjgl.org/wiki/index.php?title=Slick-Util_Library_-_Part_2_-_Loading_Sounds_for_LWJGL

I also reused an old drawCube() method I had written a while ago.

If any of this isn't kosher please let me know.

Instructions:

Download/unzip/run Cocci.jar in the folder it's in

Notes:

I ran the gamut of emotions while making this, from caffeine induced glee to frustration and anxiety that the whole thing would end up terrible. Overall, although it's a bit janky, I'm really happy with how it ended up. Also, save yourself the headache and me the embarrassment and don't look at the source code, it's a tangled horrible mess. Thanks a lot for hosting Ludum Dare!
Found a bug?
Tell us on Discord