If this game lags for you, press Ctrl + M. This project works great on sulfurous, too! https://sulfurous.aau.at/#248187880 I made some progress on this, so I wanted to share it and see what you think about it! I tried to make this work as similarly as possible as the original game. This is a very early version of the game, so expect there to be some glitches. By the way, the zombie with an orange square on its head is a conehead zombie and the zombie with a yellow one is a pole-vaulting zombie. KNOWN GLITCHES (some of these will get fixed soon): Peashooters shoot peas if there are zombies on his row, even if they're behind the peashooters. Peas might not disappear when they touch a pole vaulting zombie while it's jumping a plant. Cherry bomb's explosion reaches all 5 columns.
v0.0.2 (6/8/18): The zombie-eating-plants code has been improved. Peashooters now shoot only when they need to. The pole-vaulting zombie was nerfed. Fixed a glitch in which a zombie would get stuck if he was touching a conehead's cone. v0.0.3 (14/10/18): The zombie-eating-plants code was greatly improved. Level 3 was added, along with potato mine and snow pea. Lots of glitches were fixed. The plant seed code was greatly improved, too. The shovel was added to the game. The music was changed and lots of sound effects were added. Zombies walk faster now, and they start appearing earlier. The jalapeno was removed from the game.