If the game freezes, just click inside it (games can get unresponsive if you click elsewhere on the page).
Click to shoot robots. Don’t let the robots get to your castle! Let the humans pass and collect them and use them to help fight back against the robots.
Use mouse to aim and shoot.
Space bar to release attacking humans.