Create a Pokémon-inspired on-chain game with MUD
-
Use
dataStruct: false
to return a tuple instead of struct (more ergonomic)- e.g. for
Position
return(x, y)
instead ofPosition
struct
- e.g. for
-
Use
type: "offchainTable"
to create an offchain table item, which will broadcast to the client without storing data onchain