Thank you so much for playing and testing it! Because the theme of the jam was mysterious, I wanted to keep the logic of the cube hidden so that players would create their own interpretation of its actions ;)
But in fact, the system is pretty simple: if you name an object on the table, it will interact with it, otherwise it will pick a random object and interact with the (very few) actions allowed on this object. It also calculates how various your sentences are, so if you say always the same sentences or similar, it will do more extreme actions like going for that knife... which is why having a rich conversation, telling it a story, or something like that, can keep you alive for a longer time ^^ The cube can only repeat words (and later, phrases) that you said previously (all random). And if you live for 30 sentences, the cube will just leave.
That's it! Not a "dialogue system", but hopefully enough to have a funny experience from time to time :p I like that our brain tries to find logic in random events haha