This is Chapter 8 of Crypto Zombies and we are learning how to work with Structs and Arrays. We go over structs a bit and recall our Zombie struct and how it has name and dna. We created a dynamic zombies array that can hold new zombies we create. We are asked to push our new Zombie into our zombies array using the push method. We learn how to create and add a zombie to the end of our zombies array by later calling our createZombie function.
Continue this lesson in the app
Install CourseHive on Android or iOS to keep learning while you move.