Crypto Zombies Lesson 2, Chapter 8, Zombie DNA, Solidity DApp

Channel:
Subscribers:
8,020
Published on ● Video Link: https://www.youtube.com/watch?v=omyGCDp92fg



Duration: 3:40
560 views
7


In this Crypto Zombie chapter we look at how we will be calculating our new zombie's dna. Once our zombie feeds on a human out feedAndMultiply function should create a new zombie from my zombies dna and the target human's dna that was fed on. This lesson helps us see how we will create a new zombie by taking zombieDna and our targetDna and then adding those 2 together, then dividing by 2 to get the average. The Result will be our new zombies dna. We finish it off by calling our _createZombie function and throw in a name for its first parameter( "NoName") and the new zombie's dna (newDna) as the second parameter.




Other Videos By We Will Code


2018-06-26Question App in Nodejs, Pug, Express, Rendering Response 2
2018-06-25Question App in Nodejs, Express, Flash Card App with Pug Templating
2018-06-22Codecademy's Learn Express, Matching Longer Paths, ExpressJS
2018-06-21Codecademy's Learn Express, Setting Status Codes
2018-06-19Codecademy's Learn Express, Getting a Single Expression
2018-06-18Codecademy's Learn Express, Matching Route Paths, Understanding Express JS
2018-06-15Codecademy's Learn Express, Sending a Response, Nodejs Backend
2018-06-14Codecademy's Learn Express, Writing Your First Route
2018-06-13Codecademy's Learn Express, Starting a Server, Back-End Apps
2018-06-13Learn Express JS, Back-End Programming Tutorial, Codecademy
2018-06-09Crypto Zombies Lesson 2, Chapter 8, Zombie DNA, Solidity DApp
2018-06-03Crypto Zombies Lesson 2, Chapter 7, Storage vs Memory
2018-06-01Crypto Zombies Lesson 2, Chapter 6, Import, Imports in Solidity
2018-05-27An Intro to Coding, Codecademy's Welcome To Codecademy Tutorial, Codecademy Starter Kit
2018-05-13Crypto Zombies Lesson 2, Chapter 5, Inheritance, Solidity Walkthrough
2018-05-11Crypto Zombies Lesson 2, Chapter 4, Require, Solidity Require Statements
2018-05-10Crypto Zombies Lesson 2, Chapter 3 Msg.sender, Solidity Language
2018-05-06Crypto Zombies Lesson 2, Chapter 2 Mappings and Addresses
2018-05-06Codecademy Learn Java, Data Structures Generalizations
2018-05-02Crypto Zombies, Chapter 2 Overview,Solidity Programming
2018-05-02Codecademy Learn Java, HashMap Access, Accessing a HashMap



Tags:
Solidity tutorial
solidity modulus
cryptozombies
crypto zomibes tutorial
Zombie DNA