A gamified tool for Italian/English vocabulary learning
- update
public/manifest.toml
andpublic/icon.png
- replace
test-data.tsv
with the new game data - update
LANG1_CODE
andLANG2_CODE
insrc/lib/constants.ts
- if necessary add localization for the interface strings at
src/lib/langs
and updatesrc/lib/i18n.ts
accordingly. - update
README.md
After cloning this repo, install dependencies:
pnpm i
pnpm check
To generate the list of sentences from the raw .tsv data file:
pnpm generate
To test your work in your browser (with hot reloading!) while developing:
pnpm start
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.
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
-
The sentences were extracted from the Tatoeba collection (licensed under CC-BY 2.0).
-
Font used: Press Start 2P by Google (OFL-1.1 licensed)
-
Random monster generator code taken from https://github.com/fabianobizarro/react-monsterid (MIT license)
-
UI Icons from "Pixel Icon" by HackerNoon (CC BY 4.0)
-
Level-up SFX is "VictorySmall.wav" from https://opengameart.org/content/8-bit-sound-fx (CC0 - public domain)
-
Success/error SFX are "1.wav" and "7.wav" from https://opengameart.org/content/8bit-sfx (CC0 - public domain)
-
Click/select SFX is "vgmenuselect.ogg" from https://opengameart.org/content/8bit-menu-highlight (CC0 - public domain)