tribal-relations / client

0 stars 0 forks source link

tribal-relations-client

badge

This is console and web app for playing Tribal Relations boardgame.

How to run

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'

Dependency structure

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


Nuxt 3 Minimal Starter

Look at the Nuxt 3 documentation to learn more.

Setup

Make sure to install the dependencies:

npm install

Development Server

Start the development server on http://localhost:3000:

npm run dev

Production

Build the application for production:

npm run build

Locally preview production build:

npm run preview

Check out the deployment documentation for more information.