Inspiration

We wanted to make the blockchain more fun and have an awesome learning experience at the same time.

What it does

The result is Metablocks: A Monopoly inspired board game where each square on the board is related to a different cryptocurrency.

It allows users to:

  • Create a player
  • Host and join games
  • Roll dice powered by the Chainlink VRF
  • Interact with the metablocks board in 3d

How we built it

  • Metablocks is deployed on the Polygon Testnetwork (mumbai).
  • We used scaffold-eth for rapid prototyping, deployment and react-hooks to sync the smart contract state with the UI
  • Three.js and open source code to create the 3d metablocks board
  • Chainlink for the Dice Rolls using the VRF

Challenges we ran into

  • Executing functions in a seperate smart contract
  • Getting the chainlink VRF to work on the mumbai testnet
  • Syncing smart contract state with the UI
  • scaffold-eth UI/config errors

Accomplishments that we're proud of

This was our first real hands on experience with blockchain and we felt like all our challenges above became our proudest accomplisments as they seem like vital pieces in the developmental workflow and will be useful for future projects.

What's next for Defi Metablocks Game

We would like to continue building out metablocks including:

  • Adding cards to the game that enable special features like airdrops and staking
  • Distributing tokens to users to make the game more fun
  • deploying onto a testnet

Built With

Share this project:

Updates