https://github.com/0xpolarzero/mud-guide-emojimon
https://github.com/0xpolarzero/mud-guide-emojimon
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/0xpolarzero/mud-guide-emojimon
- Owner: 0xpolarzero
- Created: 2024-03-28T12:30:33.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-29T11:16:26.000Z (about 2 years ago)
- Last Synced: 2024-04-15T05:02:27.685Z (about 2 years ago)
- Language: TypeScript
- Size: 98.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Emojimon
> Create a Pokémon-inspired on-chain game with [MUD](https://mud.dev/)
### [Read the tutorial on mud.dev →](https://mud.dev/tutorials/emojimon/)
[](https://mud.dev/tutorials/emojimon/)
## Notes
- Use `dataStruct: false` to return a tuple instead of struct (more ergonomic)
- e.g. for `Position` return `(x, y)` instead of `Position` struct
- Use `type: "offchainTable"` to create an offchain table item, which will broadcast to the client without storing data onchain