Map Service

Use Cases

Create new Map Type

Trigger: REST call (POST containing the map type specification, format see TODO)

Responsible Aggregate: MapType

What happens?

  • Store the specifification
  • return the MapType ID

Produced Event(s): MapTypeCreated

Create Map Instance for a new Game, based on a Map Type

Trigger: Event (originating from Game service) that a new game has been created.

Responsible Aggregate: MapType

What happens?

  • TODO

Produced Event(s): MapTypeInstanciated

  • Generating Map
  • Generating Resources
  • Mining / Depleting Resources

Aggregates

See list below.