Chapter 12 of Crypto Zombies ties everything we have learned so far and tests our knowledge. For the challenge we are asked to create a function named createRandomZombie which will take a parameter _name which is a string. That function is public and we use that string to call our random function, _generateRandomDna which takes a string and converts it to a big number. We then take our randDna and name our Zombie and pass those arguments into _createZombie which will create our zombie with a specific name and random DNA.
Continue this lesson in the app
Install CourseHive on Android or iOS to keep learning while you move.