Skip to content

Latest commit

 

History

History
57 lines (44 loc) · 953 Bytes

architecture.md

File metadata and controls

57 lines (44 loc) · 953 Bytes

Architecture

Technology

Design

Note

The design below is speculative and might not fit Unity technical details.

UML class diagram

classDiagram

class WordisApp{
    -WordisGame game
    -GameSettings settings
    +render()
}
WordisApp --> WordisGame

class GameObject{
    
}

class CharObject{
    +Char char
}
GameObject <|-- CharObject

class WordisGame{
    -TextGenerator textGenerator
    +GameSettings settings
    +GameObject[] matrix
    +Int score
    +next(Input input) WordisGame
}
WordisGame --> TextGenerator
WordisGame --> GameSettings
GameObject --* WordisGame

class GameSettings{
    +Int height
    +Int width
    +Int speed
}

class TextGenerator{
    +next() Char
}

class Input{
    +Direction direction
}

Loading