Architecture of Tower Defense

Purpose

Tower Defense is a minigame that is part of the Gamify-IT platform. The intention with this game is to make answering single choice questions fun.

Table of Contents

Purpose

Being a fun-to-play minigame that lets users choose one correct answer from a bunch of wrong answers

General code structure

Unity uses C# scripts.
There is no “main”-class in Unity scripts.
Each script that is put on a GameObject can have a Start method (called once when the GameObject is created), an Awake method (called once before Start), and an Update method (called on each frame).
If the GameObject is destroyed everything attached to it will be destroyed as well, meaning no script attached to the destroyed GameObject will be executed again.

WIP

Starting the service

See the README.

What to look at

Generally all .cs files. The key script files that contain most of the actual game behavior are

What to ignore

WIP

Known Design Flaws

N/A

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 Tower Defense.

Tests

In general, the following things are tested for Tower Defense:

  • everything manually with a testplan