Skip to content

为RollDiceCommand加入更好的输入检测 #2

@apflu

Description

@apflu

目前,RollDiceCommand类十分脆弱:它还没有对各种意外情况有一个很好的应对措施。一点点出乎意料的输入都会让其无法运作。
我们需要检测无效的输入,并告诉用户这是无效的。对于过大的投骰数字应存在提示文本。

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions