If the game freezes, just click inside it (games can get unresponsive if you click elsewhere on the page).
Control where plants grow to help you achieve goals on each level. Don't grow in wrong areas!
WASD keys or Arrow keys to move.
Click any part of the ground or wall to a grow plants