Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement true decision-making AI #10

Open
1 of 5 tasks
nguoiyoujie opened this issue Apr 16, 2019 · 0 comments
Open
1 of 5 tasks

Implement true decision-making AI #10

nguoiyoujie opened this issue Apr 16, 2019 · 0 comments
Assignees
Labels
core: ai AI functions

Comments

@nguoiyoujie
Copy link
Owner

nguoiyoujie commented Apr 16, 2019

Currently the 'AI' of the game is 'single-tracked'. All AI-enabled objects follow the same checks, and same behavior, and overriding checks are hardcoded. No customization can be done in the AI component except when taken from the ActorInfo and ActorInfoType owner.

This makes AIs that are fundamentally different (e.g. capital ship AI) more difficult to implement.

  • Implement an AI configuration class to store AI-specific data. AI configuration will be carried by the ActorInfo, and used as a context parameter when executing Actions.
  • Target the following AI configurations as test implementations
    • NoAI (does nothing)
    • SlowAI (turns more slowly. Can be used to implement easy AI)
    • IgnoreEverythingAI (moves to destination, ignoring every attack or collision against it. Can be used to implement a capital ship AI)
@nguoiyoujie nguoiyoujie self-assigned this Apr 16, 2019
@nguoiyoujie nguoiyoujie added the core: ai AI functions label Apr 16, 2019
@nguoiyoujie nguoiyoujie removed their assignment Apr 16, 2019
@nguoiyoujie nguoiyoujie self-assigned this Apr 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core: ai AI functions
Projects
None yet
Development

No branches or pull requests

1 participant