Skip to content

Design game mode abstraction #8

@JohnnyJayJay

Description

@JohnnyJayJay

Different game modes have different criteria for what "winning" is. In the current OpenAPI definition, the schema for "game results" is still missing, as it's unclear what the common ground should be that all potential game modes have to stick to.

In other words: we need to find an abstraction, a common denominator for representing game modes, ideally in a way that clients can handle generically (without having to adjust for individual game mode implementations specifically).
Finding a good, general representation of "game results" should be sufficient for this purpose, as long as game modes don't introduce completely foreign concepts that change the way of playing rounds.

So, how do we represent "game results" without introducing specialised data for every possible game mode?
Once we figure this out, we may even be able to have a plugin system for game modes in the backend.

Metadata

Metadata

Assignees

No one assigned

    Labels

    designissues concerning the design of the system

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions