Not sure if this is right question for this forum. It is more an engineering question than Phaser related, but anyway. How big has to be your javascript state files to be worried about the overall success of your project? When should I start developing regression tests, with Jasmine.js? How can I do QA for my game, tools, techniques, methods? My GameScreen.js state become 500 lines of code