Problem

This is a simplified simulation of the famous “Plants vs. Zombies” game. A sunflower is on the left of the field, and zombies come towards the sunflower (to eat it) one by one from the right side of the field. The purpose of the game is to have the sunflower survive one wave of attack (1515 zombies).

Get hands-on with 1400+ tech skills courses.