TripleA Logo TripleA Forum
    • TripleA Website
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Tags
    • Register
    • Login

    Is there a flowchart or similar for the AIs?

    Scheduled Pinned Locked Moved Development
    7 Posts 4 Posters 1.4k Views 4 Watching
    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.
    • aardvarkpepperA Offline
      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?

      ubernautU 1 Reply Last reply Reply Quote 0
      • ubernautU Offline
        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.

        "You should never have told me horses sleep standing up, it gave me a mental block." - Mister Ed

        TheDogT 1 Reply Last reply Reply Quote 0
        • TheDogT Offline
          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

          https://forums.triplea-game.org/tags/thedog
          https://forums.triplea-game.org/topic/3741/curated-best-top-maps-triplea-guides

          ubernautU aardvarkpepperA 2 Replies Last reply Reply Quote 2
          • ubernautU Offline
            ubernaut Moderators @TheDog
            last edited by

            @TheDog nice find +1 bookmark for me. 😛

            "You should never have told me horses sleep standing up, it gave me a mental block." - Mister Ed

            1 Reply Last reply Reply Quote 0
            • T Offline
              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.

              ubernautU 1 Reply Last reply Reply Quote 1
              • ubernautU Offline
                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. 🙂

                "You should never have told me horses sleep standing up, it gave me a mental block." - Mister Ed

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

                  @TheDog Thanks. Quite handy.

                  1 Reply Last reply Reply Quote 0

                  Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                  Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                  With your input, this post could be even better 💗

                  Register Login
                  • 1 / 1
                  • First post
                    Last post
                  Copyright © 2016-2018 TripleA-Devs | Powered by NodeBB Forums