I have two questions.
The first one is, how should i learn Phaser.io?
And, is game making with canvas HTML5 and JS a good idea? If some people wanted to stole my code, can i prevent this? If yes, how?
As for my first question, i found this page, https://phaser.io/docs/2.6.2/index but there are too many rules and formulas for making a game... I'm afraid to learn all i guess... Simultaneously, i'm learning intermediate PHP, basics JS and MySql, some of advanced HTML5, CSS3, But i wanted to know, is it worth to learn game development with a framework like Phaser or directly with Phaser? I'm almost new to game development, but these are my wonders that i wanted to know and get an answer...
For second question, how should i hide my codes for not to be stolen. Using HTML5 canvas? Is this a good idea? When i tried the inspect the canvas made games, i couldn't see the code in canvas as much as i remember.
Thank you all for your advices.