Green flag, then arrow keys. Go onto a space to plant grass. But, if you go on it again, you trample the grass and kill it! Get all of the tiles green to wiiiin! (How do I mark that it's a work in progress?) (Oh, and the last level IS possible)
I made this script a little while back, it's SUPER efficient and easy to make new levels. The only con is that you have to code each individual X and Y value. But otherwise you can't move into walls, you always move exactly where it's intended, and there's a lot of room for new things like one way tiles or tiles that need to be crossed twice to plant grass.