Step 3 shows the Phaser code
A tutorial by Emanuele Feronato.
"Here we are with the 3rd step of the Farm Heroes Saga creation using any language. A brief recap:
In step 1 I showed you the variable and constants to use to create the game field, while in step 2 we discussed about the functions to use in order to populate the game field.
Now it’s time to see some action, and we are going to draw the game field using two popular HTML5 game frameworks, Phaser and Panda."