Skip to content

Zombie battling, trading, and randomizing game built for the Ethereum blockchain network.

Notifications You must be signed in to change notification settings

Lexxeous/basic_zombie_dapp

Repository files navigation

Lexxeous's Basic Zombie Dapp:

Credit for these contents goes to the CryptoZombies Tutorial. Please follow these tutorials for more information.

Summary

This distributed application provides implementation for creating zombies with randomized DNA. The zombies are also mapped to owners, can attack/feed on other zombies and kittens, each have a win count and loss count, can level up, and can also be transferred to different owners. In an effort to control the rate at which a particular zombie attacks/feeds, there is also a cooldown timer that is incurred on each zombie.

The inclusion of the Ownable, SafeMath, and ERC721 libraries/contracts are used to provide implementations for private user ownership, prevent overflow and underflow of computations, & for properly exchanging zombies as ERC tokens respectively.

An index.html file with embedded JS is also included to interface with the Solidity zombie files and provide some user interaction with Web3.