("game" in game) === true
If you already played our Galvanica entry, you might notice that some dialogs contain minigames - small games inside big game. We added them to diversify gameplay a bit and found that it was good idea.

Each minigame is very simple, so we didn’t use game engine’s capabilities to create them (except key pressing detection). For each of them we just draw pixels over relatively small canvas. So that was an interesting challenge inside a challenge - creating playable piece of…code with just plain old HTML5 canvas. And insert it inside Phaser.js game 😃
Here is «catch the container» minigame.
And here is how its code looks like - pretty small, I think.

So this is how they done. Good luck and remember - potatoes are rich in calories, don’t hesitate to throw it into furnace!
