This may be interesting for people to read. Just a warning, all AGPL, so using this code snippets will make your source open. Hope you like the reading.

  • Shin@piefed.socialOP
    link
    fedilink
    English
    arrow-up
    2
    ·
    26 days ago

    I didn’t hat the opportunity to write on this comment yesterday, so I’ll do it today. Freaking awesome idea. Right now when I need to make some more “complex” logic for the AI, I’m using the singleton for the CombatManager to keep it with its data. But having a resource for the combat_context would solve and make it able to have more isolated, and for sure create even a replicable combat (since each turn is “predictable”)… Love it. Thanks for the comment.