Skip to content

Fragile moves/items usage #4

Description

@rand0musername

If we're wishing to optimize for the ease of use when defining new strategies, perhaps we should use enums or strings for moves/items in Strategy classes. Ideally instead of returning 0, 1 from choose_action competitors should return PERFORM_MOVE, ATTACK. This is much more readable for complex strategies and I believe will lead to less dumb mistakes.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions