Pet sitting animal cage fighting zombie pets

Week 2 day 3


So today in class we started on testing our code! It was so simple at first, but as the day progressed I pretty much ended up confusing myself and now I need a recap for sure! BUT I understand it enough to be able to read it out. Im not expecting to get everything the first day, practice makes perfect and thats just how it is! Today we created a→pet-sitting app←.We created a function called Pet and gave it the paramater, of a name, age, gender, and species. From there we also created another pet and made both of them fight. both had health, energy, and fullniss, once one animals health when down to a negitivr, that per would then turn to a zombie. depening on how many wins the zombie gets, would should be alot sense it cant die, it could buy back a ressurection with 5 wins. Id go into more details but once i figure this all out, I shall recode and reexplain this blog of the code! still in the progress of working on it and learning the testing! once again check out the code here! ——→ Pet-sitting