Design better player command interface #86
Labels
enhancement
New feature or request
help wanted
Extra attention is needed
research
Requires outside research
Milestone
Overview
Player commands are instructions that are submitted by the player of a Regal game. At the moment, this handling is underdeveloped (see description below).
This issue is meant to serve as a discussion thread for the research and design of an improved player command interface experience.
Description
Currently, the player commands are parsed as raw strings through the
onPlayerCommand
hook. The flow looks something like this:Handling player commands by trying to parse a string with a series of
if-else
blocks is not scalable or fun. The Regal Game Library should provide a more intuitive interface for building and handling these commands.More research into this topic is needed. Further discussion should take place as comments on this issue.
The text was updated successfully, but these errors were encountered: