Navigation

    TripleA Logo

    TripleA Forum

    • Register
    • Login
    • Search
    • TripleA Website
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Tags

    Is there a flowchart or similar for the AIs?

    Development
    4
    7
    547
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • aardvarkpepper
      aardvarkpepper last edited by

      Don't think I've ever seen a flowchart of how the different AIs function.

      Also for the "Hard" AI - is that an adaptation of an earlier AI? Like Easy is Moore 'n Able, Medium is something, Hard is something else?

      'cos it looks like the Hard AI may not be calculating the counter?

      ubernaut 1 Reply Last reply Reply Quote 0
      • ubernaut
        ubernaut Moderators @aardvarkpepper last edited by

        @aardvarkpepper as far as i know the only AI beign actively developed is Hard AI the other 2 are legacy AI's from a time when AI was a bit less capable.

        TheDog 1 Reply Last reply Reply Quote 0
        • TheDog
          TheDog @ubernaut last edited by

          @aardvarkpepper

          I fell across this in my travels, hope it helps.

          https://github.com/triplea-game/triplea/blob/master/docs/development/ai-overview-and-backlog.md

          ubernaut aardvarkpepper 2 Replies Last reply Reply Quote 2
          • ubernaut
            ubernaut Moderators @TheDog last edited by

            @TheDog nice find +1 bookmark for me. 😛

            1 Reply Last reply Reply Quote 0
            • T
              Trevan last edited by

              "Hard AI" and "Fast AI" are practically identical. The only difference between the two is how they calculate whether a battle is winnable or not.

              With "Fast AI", it estimates the power of both sides and then uses that to figure out which side will win. You can see the initial method that does the work at https://github.com/triplea-game/triplea/blob/master/game-core/src/main/java/games/strategy/triplea/ai/fast/FastOddsEstimator.java.

              With "Hard AI", it runs 1-16 battle simulations (similarly to how the Battle Calculator works) and then takes an average of the results.

              The "Easy AI" is a lot different from the others. I haven't actually looked at its code but it is a lot smaller than the Hard/Fast AI code base.

              ubernaut 1 Reply Last reply Reply Quote 1
              • ubernaut
                ubernaut Moderators @Trevan last edited by ubernaut

                @Trevan at one time there were 3 ais, does nothing, more enable and i think it was advanced or something. more enable became easy iirc when advanced was replaced with hard and i believe fast was just meant to be a less cpu taxing version of hard. anyway that's how i remember it. @redrum was the one responsible for the revamping so he would know better/more than me. 🙂

                1 Reply Last reply Reply Quote 0
                • aardvarkpepper
                  aardvarkpepper @TheDog last edited by

                  @TheDog Thanks. Quite handy.

                  1 Reply Last reply Reply Quote 0
                  • 1 / 1
                  • First post
                    Last post
                  Copyright © 2016-2018 TripleA-Devs | Powered by NodeBB Forums