Can i ask which game engine did you use for this brillant game?
Exactly, Heaps engine with Haxe language, both open-sources. And all the game source code is also available on GitHub :)