Solution: Part 3
Build our own play-to earn game.
We'll cover the following
Final derived contract
Next, we'll define our final contract, which will inherit from TreasureHuntVRF.sol
(and thus implicitly from TreasureHuntNoVRF.sol
). Here, we'll implement the constructor, various functions to handle gameplay and payments, as well as OpenZeppelin design patterns.
Get hands-on with 1200+ tech skills courses.