Skip to content

Latest commit

 

History

History
45 lines (31 loc) · 2.34 KB

DESIGN_PATTERN_DECISIONS.md

File metadata and controls

45 lines (31 loc) · 2.34 KB

Design Pattern Decisions

Board

This is an image

Modelization

This is an image

This is an image

List of tokens

  • MONO (ERC-20): fungible token, native currency for playing and buying PROP tokens;
  • PAWN (ERC-721): to be used by player to play
Size Name Description
uint8 subject car, thimble, hat, ship, shoe, wheelbarrow, dog, cat
uint8 background blanc, noir, bleu, rouge, vert, jaune, bleu clair, violet, arc-en-ciel
uint8 material carton, bois, plastique, cuivre, plomb, étain, argent, palladium, platine, or
uint8 halo aucun, bleu électrique, jaune solaire, pure blanc, vert plasma, psycho arc-en-ciel, fusion flou
uint8 power aucun, monopole, anarchiste, politicien, avocat, juge, banquier, médias, startuper, star, CEO
uint8 level
uint8 xp
  • PROP (ERC-721): non-fungible token, represents the property of a land, with a unique id generated from
Size Name Description
uint16 edition version
uint8 land [0, …, 39]
uint8 rarity 0 = unique, 1 = rare, 2 = common
uint32 serial 0 <= serial < 10^rarity

Smart contracts architecture

  • MONO: native token of MonopolyWorld platform/game;
  • PROP: NFT owned by player, represents a Monopoly property (estate);
  • BOARD: represents the Monopoly board (land, max rarity level) for each edition; may contains also playing rules;
  • BANK: players interact with the Bank to buy PAWN and PROP and play;

This is an image