This is console and web app for playing Tribal Relations boardgame.
to start console app:
npm run start-console-app
to start web client:
npm run start-web-client
to run tests:
npm run test
to run one test:
npm run test -- -t 'name'
src/*:
src/outer:
src/ui:
src/storage:
src/app:
src/domain:
src/domain/repository:
src/domain/enum:
src/exception:
src/domain/enum
contains hardcoded game object names, enums don't depend on anything
src/domain/repository
contains all possible game objects
src/domain/entity
contains entities and their logic
Look at the Nuxt 3 documentation to learn more.
Make sure to install the dependencies:
npm install
Start the development server on http://localhost:3000
:
npm run dev
Build the application for production:
npm run build
Locally preview production build:
npm run preview
Check out the deployment documentation for more information.