Add a Game to Realms.World
To add a game to the frontend - make a fork of Realms.World Github and then:
Steps
-
In
packages/constants/src/Games.ts
add a new object to the end of theconst games: Game[]
. You can find values for the Collection, Chain and Token typescript enums in the relevant files in the same directory. -
Create folder
apps/nextjs/public/games/{game.id}
(using the id entered in the previous step) with the following structure:
.
└── apps/nextjs/public/games/{game.id}/
├── screenshots/
│ ├── 1.png
│ ├── 2.jpg
│ ├── 3.png
│ └── ...
├── background.webp
├── cover.webp
└── icon.svg
- Submit a PR to the main branch of the repo