Skip to content

[engine] Add a generic board manager #10

@lunacys

Description

@lunacys

A board manager structure might be useful for both server and client.

Board manager stores unlimited amount of boards. Each board should run in parallel.

It also should be capable of returning current board's state:

  • Occupied cells
  • Current piece
  • Held piece
  • Incoming garbage
  • Stats (APM, PPS, etc)
  • ...

By default each board is disabled, which means that the match is not started yet. And the match may be started at any time when the manager receives a particular command.

An outdated and commented example can be found here

Metadata

Metadata

Assignees

No one assigned

    Labels

    engineEngine-related tasksfeatureA new feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions