4019 lines of C later, I'm done!
That said, 4019 lines of code with the boilerplate rendering code, but I wrote it during the jam nonetheless.
I doubted I would finish it, especially since the last week had been very tiring. I basically coded a rudimentary version of logisim.

Here is the game: https://ldjam.com/events/ludum-dare/59/world-of-gates
I hope you will have a little bit of fun with it.