Skip to content

ArcaneCircle/babel-dungeon-jp-en

Repository files navigation

Babel Dungeon (🇯🇵/🇬🇧)

A gamified tool for Japanese/English vocabulary learning

Creating new flavor

  • update public/manifest.toml and public/icon.png
  • replace test-data.tsv with the new game data
  • update LANG1_CODE and LANG2_CODE in src/lib/constants.ts
  • if necessary add localization for the interface strings at src/lib/langs and update src/lib/i18n.ts accordingly.
  • update README.md

Contributing

Installing Dependencies

After cloning this repo, install dependencies:

pnpm i

Checking code format

pnpm check

Generate sentences

To generate the list of sentences from the raw .tsv data file:

pnpm generate

Testing the app in the browser

To test your work in your browser (with hot reloading!) while developing:

pnpm start

Building

To package the WebXDC file:

pnpm build

To package the WebXDC with developer tools inside to debug in Delta Chat, set the NODE_ENV environment variable to "debug":

NODE_ENV=debug pnpm build

The resulting optimized .xdc file is saved in dist-xdc/ folder.

Releasing

To automatically build and create a new GitHub release with the .xdc file:

git tag -a v1.0.1
git push origin v1.0.1

Credits

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published