Open hackfisher opened 9 years ago
<id, rule> db to index the game rule definitions
Define an *Context in rule api for this specific purpose and further script support.
thinking to make an adaptor of wallet_context and blockchain_context in the game API, only those data for the game can be access from that game, including rule data storing in rule_data_db
For each game, they can only access/modify the game assets(chips) they are binding to.
This is the scenario:
The game developer first create several game chip assets (these chip assets can be traded/buy), e.g. dice, then they create a game binding that asset (need the signature of the asset issuer), each a game have a script or reference id pointing to the rules.