Zork: The Great Underground Empire is a classic text adventure game which was released in 1977. The player begins as an "adventurer" standing near a white house in a nice forest, but soon descends into the Great Underground Empire, where most of the game takes place. The player's quest is to collect the Nineteen Treasures of Zork.
Please note: this game is far from being complete. Many items and game mechanics from the original game are missing.
First install the project's dependencies:
# --legacy-peer-deps is required for installing pinia.
# https://github.com/vuejs/pinia/issues/853
npm ci --legacy-peer-deps
Then start the development server:
npm run dev
Formatting is done using prettier
. To format all source files, use:
npm run format
Linting is done with stylelint
, eslint
and prettier
. To perform linting on all source files, use:
npm run lint
For further information about using eslint
with vue3
, check out the tooling guide from the vue3
docs.
Additionally, fixing stylelint
errors can be done using stylelint --fix
.
To generate a production-ready build of the application, use:
ZORK_PRODUCTION=1 npm run build
For more information on Nuxt static hosting, check out nuxt's static hosting guide.