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

    delegates required - Resolved -

    Scheduled Pinned Locked Moved XML Options Browser
    14 Posts 6 Posters 3.9k Views 6 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.
    • MahksM Offline
      Mahks
      last edited by Mahks

      POS2 says some delegates are not required but I saw no indication of which.

      I would like to designate which are / are not.

      Anyone know about this?

      General_ZodG 1 Reply Last reply Reply Quote 0
      • General_ZodG Offline
        General_Zod Moderators @Mahks
        last edited by General_Zod

        @mahks

        Each delegate represents a phase in the game. So if one is making a game without a bid phase, they simply exclude it. This principle applies to most of the delegates.

        However to make a functional game you probably at a minimum, need one initDelegate at beginning and one of each of the following, move, battle, endTurn, in the sequence for each player and one endRound at the end.

        1 Reply Last reply Reply Quote 0
        • MahksM Offline
          Mahks
          last edited by

          So we do not know for sure if any are required (by the engine) , meaning needed or the engine will error.

          B General_ZodG 2 Replies Last reply Reply Quote 0
          • B Online
            beelee @Mahks
            last edited by

            @mahks yea idk what's needed either. Trial and error is probably the way to go.

            Fwiw I do know you can have some players have different delegates and it still works.

            1 Reply Last reply Reply Quote 0
            • General_ZodG Offline
              General_Zod Moderators @Mahks
              last edited by

              @mahks

              I am not sure what will cause the game to give errors. But for a barebones game I would use the ones I mention above. Maybe developer can answer further.

              MahksM 1 Reply Last reply Reply Quote 0
              • MahksM Offline
                Mahks @General_Zod
                last edited by

                @general_zod I thought you were a developer. Who are the developers?

                prastleP General_ZodG 3 Replies Last reply Reply Quote 0
                • prastleP Offline
                  prastle Moderators Admin @Mahks
                  last edited by

                  @mahks devs are @RoiEX @LaFayette @redrum @ssoloff but yes zod has been doing this long time as well

                  If we open a quarrel between past and present, we shall find that we have lost the future! Sir Winston Churchill

                  1 Reply Last reply Reply Quote 0
                  • General_ZodG Offline
                    General_Zod Moderators @Mahks
                    last edited by

                    @mahks

                    I'm a player, mapmaker, lobby mod, forum admin, and 1of 5 triplea council members.

                    1 Reply Last reply Reply Quote 0
                    • General_ZodG Offline
                      General_Zod Moderators @Mahks
                      last edited by

                      @mahks

                      Btw, we need more developers if you know java.

                      1 Reply Last reply Reply Quote 2
                      • MahksM Offline
                        Mahks
                        last edited by

                        I know nothing of java, how similar is it to javascript?

                        Also I'm not sure how I would work in a group environment. All my coding knowledge is self taught and my practises non-standard. Though maybe by learning java I could also learn standards? Probably not, being an old dog and all.

                        General_ZodG 1 Reply Last reply Reply Quote 2
                        • General_ZodG Offline
                          General_Zod Moderators @Mahks
                          last edited by General_Zod

                          @mahks

                          @redrum can fill you in on differences between java and javascript. I don't want to misinform you.

                          I think self taught is great. It shows you have the initiative and interest to learn.

                          Your assisting TripleA already by working on XOB. This is something we needed for a while. It will help people take full advantage of the TripleA platform by providing them with a friendlier method to learn the ropes. And to make new mods of existing maps and eventually brand new original maps. Which is one of it's coolest features aside from just playing.

                          1 Reply Last reply Reply Quote 2
                          • RoiEXR Offline
                            RoiEX Admin
                            last edited by

                            @Mahks Despite the name, javascript is nothing like java ^^
                            However the basic syntax is pretty similar, it's a C-like syntax using curly brackets and semicolons I.e. If statements while and for loops still exist ^^
                            There's nothing wrong with self teaching, I started programming this way too.
                            If you're interested, I can give you an introduction to the triplea codebase and help you to get started, but contributing to the documentation is already enough help for now.

                            MahksM 1 Reply Last reply Reply Quote 0
                            • MahksM Offline
                              Mahks @RoiEX
                              last edited by

                              @roiex Yah, I'm already burning out...

                              1 Reply Last reply Reply Quote 0
                              • redrumR Offline
                                redrum Admin
                                last edited by

                                @Mahks I believe just about all delegates are optional though at some point you wouldn't really have much of a game without at least some sort of move and battle delegates. I'm not sure if you can leave out the InitializationDelegate as I can't remember exactly what that does and if you can create a map without it. That might be the only 1 that is absolutely required though it would be hard to have a playable map without at least a few of the others.

                                TripleA Developer with a Passion for AI: https://forums.triplea-game.org/topic/105/ai-development-discussion-and-feedback

                                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