Implement a Command Palette component which is one of the main components of the game's UI. Command Palette is responsible for providing the user all the controls needed to modify all of the sequences available within a level and triggering game state changes when needed (e.g. Start/Stop simulating). Command Palette should contain logic to ensure which controls should be enabled and disabled (e.g. can't edit while simulating).
Command Palette should include these UI elements:
A control to toggle which sequence is being modified,
A control group to represent the directional commands (←, →, ↑, ↓), displayed in arrow keys' formation,
Controls for adding subsequences to the main sequence (currently, no subsequence can be input in another subsequence),
And finally, a control to start simulating the sequences. This should change the control set displayed within the Command Palette to the control set for managing the simulation (e.g. currently only play and stop but future specs may include some or all of fast forward, rewind and pause).
Implement a
Command Palette
component which is one of the main components of the game's UI.Command Palette
is responsible for providing the user all the controls needed to modify all of the sequences available within a level and triggeringgame state
changes when needed (e.g. Start/Stop simulating).Command Palette
should contain logic to ensure which controls should be enabled and disabled (e.g. can't edit while simulating).Command Palette
should include these UI elements:Command Palette
to the control set for managing the simulation (e.g. currently onlyplay
andstop
but future specs may include some or all offast forward
,rewind
andpause
).