Nice game! You made it with Scratch, didn't you?
not exactly, I ported the scratch part of the game to javascript and then continued from javascript coding onwards