TripleA Logo TripleA Forum
    • TripleA Website
    • Recent
    • Popular
    • Register
    • Login

    Improved Pro AI, please give it a try and post feedback

    Scheduled Pinned Locked Moved AI
    56 Posts 10 Posters 234 Views 9 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.
    • LaFayetteL
      LaFayette Admin
      last edited by

      I've created a new pinned forum post for new write ups: https://forums.triplea-game.org/topic/4468/vs-ai-game-write-ups

      I'm happy keeping this forum post to discuss AI updates/progress for fixes. I'd like the #4468 post to be pretty pure, just a series of game writes up. Please add them! Even if I don't respond. My dream is to check in next week and have 20 write ups posted and ready for analysis.

      I'll emphasize, the TripleA AI, and any AI on TripleA - DOES NOT LEARN WELL PLAYING ITSELF!! It gets small refinements, but this is different from Go or Chess where AI can learn. TripleA is far more complex then either of those two games, to the extent where AI vs AI is good for validating a specific change leads to stronger play, but for learning "what would be stronger play", it's almost impossible. This is why the human vs AI games with write up is so valuable. We're telling the game directly what it should do instead rather than trying to find that out 'the hard way' (for which TripleA does not do that well, too many possible moves).

      The way the AI is benchmarked and trained is even different from Chess/Go. I've been building a set of tactical scenarios, small ones, where teh AI can play against itself to validate if it improved on just that scenario, before it even goes to playing full games.

      I mostly wanted to emphasize:

      • Write ups are extremely valuable
      • Please post them, even if I'm not responding, even if a backlog forms -> I will still be able to go through them and they'll be valuable.

      Already the AI is short of human feedback. I already have scraped the entire forum for every complaint ever posted about the AI and it's already fixed a good chunk of those. We really need humans to comment on where the AI could be stronger.

      TheDogT 1 Reply Last reply
      Reply Quote 4
      • TheDogT
        TheDog @LaFayette
        last edited by

        @LaFayette

        Suggestion for Beta AI. AFAIK enemy support values are NOT taken into account for purchasing. eg in 1941GCD AT guns cause suppression to enemy Armor. Currently only positive numbers are valued for purchases, not negative ones.

        <!-- Anti-Tank Suppress ENEMY Armor -->
        <attachment name="supportAttachment_Anti-Tank_sup_Armor" attachTo="Anti-Tank" javaClass="UnitSupportAttachment" type="unitType">
        <option name="faction" value="enemy"/>
        <option name="unitType" value="$All-Armor$:Inf-Motorized"/>
        <option name="side" value="defence"/> <!-- defence is correct, reduces enemy Armor strength Atk -->
        <option name="dice" value="strength"/>
        <option name="bonus" value="-1"/>
        <option name="number" value="1"/>
        <option name="bonusType" value="Anti-Tank"/>
        <option name="players" value="$All-Players$"/>
        </attachment>

        AFAIK The above is not valued for purchasing

        On its own this might be such a big change to purchasing, it might need a property true so that map makers can turn it on and old maps play as before?

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

        1 Reply Last reply
        Reply Quote 1
        • LaFayetteL
          LaFayette Admin
          last edited by

          A new set of AI updates landed just now, OP is updated.

          @thedog / @schulz I'll look into both issues.

          Let's continue with this thread being a "meta" thread for discussing the AI and the new thread I linked a bit earlier for the write-ups.

          1 Reply Last reply
          Reply Quote 1
          • LaFayetteL
            LaFayette Admin
            last edited by

            @schulz I really could use a save game for the ship bug.

            TheDogT SchulzS 2 Replies Last reply
            Reply Quote 2
            • TheDogT
              TheDog @LaFayette
              last edited by TheDog

              @LaFayette

              The current AI fails to reuse its Transports, especially in Global maps, this is inefficient and maps with stacking clogs up the Sea Zone

              In most A&A maps a Transport 0-0-2 with 7 Transport Capacity is a Shucking/Taxi unit.
              A player reuses these to go and get more units usually from USA.

              But not every unit with a Transport Capacity is a Shucking unit, they need splitting out by function, as below.

              In 1941GCD it has 3 Transport Capacity units with transportCapacity
              Battleship 3 TC, transport Inf-Trained, xml has isCombatTransport
              Cruiser 2 TC, transport Inf-Elite, xml has isCombatTransport
              Convoy 14TC, a mix of units, this is a Shucking unit (not isCombatTransport)

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

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

                @lafayette
                The current Fast-AI is very weak in attacking using a amphibious assault.

                Its style is usually to just win and then suffers a counter attack that wipes it out. Note this is the Fast-AI, maybe Hard-AI does it better.

                Any AI should over commit its forces, so that any counter attacks have little to no chance of success.

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

                1 Reply Last reply
                Reply Quote 0
                • SchulzS
                  Schulz @LaFayette
                  last edited by

                  @LaFayette bw_v3.tsvg

                  The German sub can't move back to SZ 6 in the non-combat phase, even though it has 1 point of movement remaining.

                  RogerCooperR 1 Reply Last reply
                  Reply Quote 0
                  • RogerCooperR
                    RogerCooper @Schulz
                    last edited by

                    In this game, the Hard Beta just builds fighters in the United States. This a long standing problem.

                    2026-11-20-No-Man's-Land-Navalland.tsvg

                    RogerCooperR 1 Reply Last reply
                    Reply Quote 0
                    • RogerCooperR
                      RogerCooper @RogerCooper
                      last edited by

                      In this game I received the error message

                      IllegalStateException: java.lang.IllegalStateException: Attackers and defenders collections must be distinct with no duplicates. This helps catch logic errors in AI code that would otherwise be hard to debug. IllegalStateException: Attackers and defenders collections must be distinct with no duplicates. This helps catch logic errors in AI code that would otherwise be hard to debug.

                      2026-11-20-New-World-Order-Variant---Neutrals-Unrestricted.tsvg

                      SchulzS 1 Reply Last reply
                      Reply Quote 0
                      • SchulzS
                        Schulz @RogerCooper
                        last edited by

                        I set destroyers 1/1/3 stats with 15 ipc price but +3 attack and defense bonuses against subs. And the subs have 2/2/3 with 12 ipc cost.

                        If a group of enemy destoyers attacks your fleet that contains only 1 sub, the game will suggest you to take your destoyers as casualty first. But instead it should have suggested you the sub as casualty to stop the one of the enemy destroyer rolling 4 to you.

                        Hard beta AI can't grasp that it should immediately get rid of the sub.

                        2026-11-21-Axis-Ascension.tsvg

                        roll.png

                        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
                        • 2
                        • 3
                        • 2 / 3
                        • First post
                          Last post
                        Powered by NodeBB Forums