Architecture of Towercrush

Purpose

Being a single-choice question style minigame that lets users choose one correct answer from a bunch of wrong answers while competing with fellow players.

Table of Contents

General code structure

All code is located in the src folder

  • __mocks__: Mocking behavior for testing

  • assets: Static assets like the logo

  • components: Re-usable Vue components

  • router: Frontend site page routing

  • ts: Data models and backend communication

  • views: The displayed pages. Currently consists of only the GameView that contains the whole game

Starting the service

See the README.

What to look at

Everything

What to ignore

NA

Known Design Flaws

  • Exactly one answer must be correct, not more or less

  • Exactly two teams can play a game, not more or less

Known Bugs

An up-to-date list of open bugs can be found at https://github.com/orgs/Gamify-IT/projects/6/views/11 by searching for Towercrush.

Tests

In general, the following things are tested for Towercrush:

  • everything manually with a testplan

  • Unit tests for Sonarqube funtionality