Design constructor
The name of the design
The options for this design
The current design options
Logger
The name of the design
Get the design options associated with this Design
Set log level of the design
level to set design logger to
Abstract function required to update match state with commands from Agents and send commands to Agents along with returning the current match status. Returning Match.Status.RUNNING indicates the match is not done yet. Returning Match.Status.FINISHED indicates the match is over.
The Match to update state with the given Commands
The MatchEngine.Command array used to update the state in a Match. Each element has two keys, command and agentID. agentID is the id of the agent that outputted that string in command
A promise that resolves with the current Match.Status at the end of this time step. Can also directly just return the match status
Creates a Design class wrapper around a custom design written without the use of Dimensions framework
Generated using TypeDoc
Abstract class detailing a Design to be used as the platform that holds match lifecycle logic for updating and manipulating ongoing matches
Refer to Match class and the Agent for exposed fields available for user's use when making your own Design
The important functions to implement are initialize, update, and getResults