Skip to content

Commit

Permalink
Update:跑通程序,新增library MRandom,专门用来做随机数生成,新增choice用于array选择
Browse files Browse the repository at this point in the history
  • Loading branch information
LidamaoHub committed Oct 12, 2023
1 parent 324b053 commit 1e53819
Show file tree
Hide file tree
Showing 6 changed files with 353 additions and 537 deletions.
8 changes: 4 additions & 4 deletions packages/contracts/mud.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ export default mudConfig({
name: "player",
openAccess: true,
},
RandomSystem: {
name: "random",
openAccess: true,
},
// RandomSystem: {
// name: "random",
// openAccess: true,
// },
},
enums: {
BattleState: ["Inited", "Confirmed", "Revealed"],
Expand Down
3 changes: 2 additions & 1 deletion packages/contracts/remappings.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ forge-std/=node_modules/forge-std/src/
@latticexyz/=node_modules/@latticexyz/
@src/=src/
@systems/=src/systems/
@codegen/=src/codegen/
@codegen/=src/codegen/
@library/=src/systems/library/
Loading

0 comments on commit 1e53819

Please sign in to comment.