Click the flag to start and to restart. Click on a "troop" option in the bottom left. Click on either the left side or the right side to "deploy" the troop to its "team". Click space to let them start battling!
I did all the code and design my self.