Skip to content

Tech Plans

Ezra Weller edited this page Jan 5, 2019 · 1 revision

Protocol Design

game client: holochain for an easy version of state channels, essentially

Organization functions

  • Design the game and formats
    • rewards participants for contributing to valuable games and formats

questions:

  • currency rules?

constant format (accepts new components by default)

— component list

constant client (accepts new components by default)

constant game (accepts new components by default)

— definition of valid clients (reference implementation - certain set of outputs, inputs)

— choose and fulfill component list format requirements

Modes (casual, ladder, proxy, keeper etc.)

— Defines meaning of game results and rejects results that don't meet requirements (like the players owning cards or games)

— May implement matchmaking rules

components market

— definition of valid component

The Set Match Games DAO

  • defines each of the basic input/output of each module:
    • "mode"
      • input: game results
      • outputs: things like whether or not those two players were supposed to play each other and how the rankings should change (ladder)
    • "format"
      • list of components
    • "component"
      • fields: name, rules, optional: art...
    • "rules"
      • inputs: board state, action(components)
      • outputs: new board state
    • "client"
      • inputs: rules, accounts, player actions, optional: mode, format...
      • outputs: game results — accounts, rules, outcome state (eg. who won, who lost)
        • that prove which rules were used and have signatures from both accounts
    • "account"
      • inputs: private account info
      • outputs: permission to change account info (ie. play games as that account)
  • regulates the links between the modules
    • to run a tournament, fees must be paid, the DAO controls those fees
      • state channels help scale the transactions

joe nobody comes in

  • makes a format
    • chooses stuff from dropdown lists
  • the format gets a curation system
    • which decides the rules of the format
  • format can grant tournament organizing and broadcasting rights through harbinger taxes (or whatever method it would like)
    • tournaments are there own interface/code (anything that provides X,Y,Z is a tournament)
    • white list addresses that have those rights
  • joe has all the reputation

sarah somebody comes in

  • makes a card
    • the card goes into the master list of all cards
      • (part of this process checks repeats)
  • people can include her card in their formats, which she gets rewarded for, etc.

same is true of rules

  • rules = instructions for how your computer should play the game