Ludum Dare #58compo
Manually counted Reference GC
C programmers are right: memory management is too tricky to a machine. In this game, you will be trained to become a truely functional memory manager.
There is a tutorial in the game but here is a recap:
* Select a block and stay pressed to form a group. When the group has the required size, assign a color to it.
* When programs ask for memory, select a group and click on the check button on the notification to assign the memory to the program
* If a program reads in a memory not allocated or allocated to an another program, it crashes.
* From the third level, a program can have multiple pointer for the same memory block with instruction "New Ptr". If a pointer is freed, it doesn't mean the pointed memory is safe to reuse. All pointers have to be freed to reuse a memory address.
* If a program close, you can reuse all its memory.
Made with:
* Haxe with HaxeFlixel and ESpir (custom engine)
* Vim and tmux
* Inkscape
* 1bit Dragon
Postmortem (in french) : here
Timelapse : here
Post ludum update:
* Fixed a bug where the second level didn't finish correctly
There is a tutorial in the game but here is a recap:
* Select a block and stay pressed to form a group. When the group has the required size, assign a color to it.
* When programs ask for memory, select a group and click on the check button on the notification to assign the memory to the program
* If a program reads in a memory not allocated or allocated to an another program, it crashes.
* From the third level, a program can have multiple pointer for the same memory block with instruction "New Ptr". If a pointer is freed, it doesn't mean the pointed memory is safe to reuse. All pointers have to be freed to reuse a memory address.
* If a program close, you can reuse all its memory.
Made with:
* Haxe with HaxeFlixel and ESpir (custom engine)
* Vim and tmux
* Inkscape
* 1bit Dragon
Postmortem (in french) : here
Timelapse : here
Post ludum update:
* Fixed a bug where the second level didn't finish correctly



Comments18
Good game. Thank you.
It does seem the game got stuck at one point with the following in the console:
src/Program.hx:188: BUG HAPPENS
But in any case it was fun playing :-)