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

    [TestAI] Download and discussion

    Scheduled Pinned Locked Moved AI
    13 Posts 4 Posters 4.4k Views 3 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.
    • RogerCooperR Offline
      RogerCooper @A. S.
      last edited by

      @a-s How did it actually perform?

      A. S.A 1 Reply Last reply Reply Quote 1
      • A. S.A Offline
        A. S. @RogerCooper
        last edited by

        @rogercooper said in [TestAI] Download and discussion:

        @a-s How did it actually perform?

        Well, technically, it does, what it should and the defined "goals" can be seen in the movement of units on the map.

        In terms of "playing strength", more goals in class "TestSetAndEvaluateGoals" would be needed, and "TestPurchaseAI", as well as "TestPlaceAI" are not elaborated enough, I think.

        "TestPurchaseAI" and "TestPlaceAI" could be connected to the "goal- approach" too, or replaced with other classes for this phases.

        At the moment, they are only connected by an integer "alignmentOfAI" to the rest of the code, and not really bound to it.

        Overall, I would say, it is a "proof of concept", that the UCT algorithm can be applied to the movement phases in TripleA. Of course, it is possible, that this has be done in other AIs of TripleA already.

        RogerCooperR 1 Reply Last reply Reply Quote 0
        • RogerCooperR Offline
          RogerCooper @A. S.
          last edited by

          @a-s The other AI's don't use UCT or any similar algorithm. They use heuristics based upon testing various possible moves for net TUV benefits and enemy counterattacks.

          1 Reply Last reply Reply Quote 0
          • C Offline
            cosmo
            last edited by

            @A-S How does one go about actually running this bot and playing with or against it? I can't seem to figure it out based on the handbook alone.

            LaFayetteL 1 Reply Last reply Reply Quote 0
            • LaFayetteL Online
              LaFayette Admin @cosmo
              last edited by

              @cosmo Which handbook are you referring to?

              C 1 Reply Last reply Reply Quote 0
              • C Offline
                cosmo @LaFayette
                last edited by

                @lafayette I'm talking about the handbook included in OP's zip file. I can't figure out how to hook these .java files up to either the server or the client. Do you know how I might go about it?

                LaFayetteL A. S.A 2 Replies Last reply Reply Quote 0
                • LaFayetteL Online
                  LaFayette Admin @cosmo
                  last edited by

                  @cosmo I have never seen that handbook before I don't really know who authored it, or when. It does not seem to go into detail about how to add a test ai.

                  I'm sorry, I can't be of help to you here. There is a lot more background and research that needs to be done.

                  • what is your experience building java applications?
                  • are you able to build the triplea source code?
                  • how old is this source code? When was it last known to be working?
                  • what have you tried so far?
                  • why are you trying to build it?

                  This is just the start to the questions... Perhaps someone else might be able to help.

                  What i can say is there is a service discovery module that looks for classes on the classpath that have a given implementation. It should be mostly a matter of compiling and then adding the classes to the classpath in one manner or another. The AI's are possibly not completely plug-and-play, so you may need to make additional code updates before this AI is actually usable.

                  I do vaguely recall in the 'dev handbook' there being mentions about how to integrate a new AI. That 'handbook' though is a legacy document and YMMV.

                  1 Reply Last reply Reply Quote 0
                  • A. S.A Offline
                    A. S. @cosmo
                    last edited by

                    @cosmo said in [TestAI] Download and discussion:

                    @lafayette I'm talking about the handbook included in OP's zip file. I can't figure out how to hook these .java files up to either the server or the client. Do you know how I might go about it?

                    Well, I wrote a short guide for development with Eclipse Juno and TripleA Version 1.8.0.9 back then.

                    If you are interested, I could translate it to English, and add it to the handbook?

                    LaFayetteL C 2 Replies Last reply Reply Quote 1
                    • LaFayetteL Online
                      LaFayette Admin @A. S.
                      last edited by

                      @a-s If the documentation is up to date, it could be useful and very welcome. All documentation belongs in this location: https://github.com/triplea-game/triplea/tree/master/docs, or on README.md files.

                      1 Reply Last reply Reply Quote 0
                      • C Offline
                        cosmo @A. S.
                        last edited by

                        @a-s said in [TestAI] Download and discussion:

                        If you are interested, I could translate it to English, and add it to the handbook?

                        Yes, please! That would be amazing. Could you send me a link to the non-English version in the meantime?

                        A. S.A 1 Reply Last reply Reply Quote 0
                        • A. S.A Offline
                          A. S. @cosmo
                          last edited by

                          @cosmo said in [TestAI] Download and discussion:

                          @a-s said in [TestAI] Download and discussion:

                          If you are interested, I could translate it to English, and add it to the handbook?

                          Yes, please! That would be amazing. Could you send me a link to the non-English version in the meantime?

                          Added a section "Development" to the handbook, and uploaded the file in the original post anew.

                          C 1 Reply Last reply Reply Quote 0
                          • C Offline
                            cosmo @A. S.
                            last edited by

                            @a-s This is awesome, thank you so much! You're the best.

                            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