OK, how do I get started?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • wobbly
    Prophet
    • May 2012
    • 2631

    #31
    How far did the old python-band project get?

    Comment

    • Derakon
      Prophet
      • Dec 2009
      • 9022

      #32
      It was in Python 2, not 3, but a fair ways along. My reach exceeded my grasp though; I was trying to write this fully-general character/equipment attribute system that I have a sneaking suspicion was Turing-complete, and I didn't have the perspective to realize that to do it properly I'd need, like, grammars and other language-processing tools. Should've stuck to something simpler.

      It's still online. The gamedata is a bit out of date (we were somewhere around version 3.1 when I started, as I recall) and of course a bunch of functionality is missing, but I think it'd probably still be faster to start from that than to start from scratch.

      That said, the real pro move would probably be to use libtcod, just because it has so much more community support. Or Unity.

      Comment

      • Gwarl
        Administrator
        • Jan 2017
        • 1025

        #33
        That said, the real pro move would probably be to use libtcod, just because it has so much more community support. Or Unity.
        Disagree on both.

        libtcod is mostly there for giving you stock routines for things like LoS and map generation, which probably don't exactly correspond to angband. Unity for a roguelike just makes me sad, all that overhead.

        I think the right thing would be to write a frontend in electron that can wire into the existing code, providing forward compatibility on all platforms whilst retaining the efficiency of meticulous C code.

        Comment

        • Gauss
          Adept
          • Aug 2018
          • 110

          #34
          Originally posted by Derakon
          It was in Python 2, not 3, but a fair ways along. My reach exceeded my grasp though; I was trying to write this fully-general character/equipment attribute system that I have a sneaking suspicion was Turing-complete, and I didn't have the perspective to realize that to do it properly I'd need, like, grammars and other language-processing tools. Should've stuck to something simpler.

          It's still online. The gamedata is a bit out of date (we were somewhere around version 3.1 when I started, as I recall) and of course a bunch of functionality is missing, but I think it'd probably still be faster to start from that than to start from scratch.

          That said, the real pro move would probably be to use libtcod, just because it has so much more community support. Or Unity.
          I would like to use yor existent source code as basis if you give me permission. I would try to port it to python 3 first since python 2 will get abandoned in 2020.

          Comment

          • Derakon
            Prophet
            • Dec 2009
            • 9022

            #35
            Originally posted by Gauss
            I would like to use yor existent source code as basis if you give me permission. I would try to port it to python 3 first since python 2 will get abandoned in 2020.
            It's all open source so you don't need my permission; go for it, and I wish you the best of luck!

            Comment

            • tangar
              Veteran
              • Mar 2015
              • 1004

              #36
              cool project! my wife learning python atm, it will be interested for her to look into it

              Derakon, Gauss, guys, do you plan to put it @ github, so it will be possible to fork it?
              https://tangaria.com - Angband multiplayer variant
              tangaria.com/variants - Angband variants table
              tangar.info - my website ⍽⍽⍽⍽⍽⍽⍽⍽⍽⍽⍽⍽
              youtube.com/GameGlaz — streams in English ⍽ youtube.com/StreamGuild — streams in Russian

              Comment

              • Derakon
                Prophet
                • Dec 2009
                • 9022

                #37
                Originally posted by tangar
                cool project! my wife learning python atm, it will be interested for her to look into it

                Derakon, Gauss, guys, do you plan to put it @ github, so it will be possible to fork it?
                Go right ahead! You just need to download the existing code and then upload it to GitHub. I haven't touched the Pyrel code base in years, so please don't wait on my account.

                Comment

                • wobbly
                  Prophet
                  • May 2012
                  • 2631

                  #38
                  A brief comment on some of these

                  Originally posted by DavidMedley
                  Vampire Strike "target is shielded"
                  This one seems simple & mostly a case of whether you want to exclude webs & traps. Currently it checks square_isempty instead of square_ispassable. Oh & having a better fail message.

                  Originally posted by DavidMedley
                  Make Protection from Evil usable at all levels but not OP
                  I feel FCPB has a better implementation of this if you want to take a look.

                  Originally posted by DavidMedley
                  Get rid of 18/xxx notation
                  Some variants do. It confuses players used to angband numbers & adds no extra clarity to newbs. How much is 15? 20? 25? 50? It's not the notation that creates confusion.

                  Originally posted by DavidMedley
                  Contribute to documentation/wiki
                  Yeah! Help file is in a terrible state.

                  Originally posted by DavidMedley
                  Reorganize monster recall
                  I suspect a more readable form would be welcome.

                  Comment

                  • Gauss
                    Adept
                    • Aug 2018
                    • 110

                    #39
                    Originally posted by Derakon
                    It's all open source so you don't need my permission; go for it, and I wish you the best of luck!
                    Thank you. Didn't notice it was open source, anyways i prefer to ask so i don't get in trouble.

                    Comment

                    • Gauss
                      Adept
                      • Aug 2018
                      • 110

                      #40
                      Originally posted by tangar
                      cool project! my wife learning python atm, it will be interested for her to look into it

                      Derakon, Gauss, guys, do you plan to put it @ github, so it will be possible to fork it?
                      I will put it on github so anyone can fork/contribute. Don't expect it to soon since i have final exams on january and my free time is limited right now.

                      Comment

                      • DavidMedley
                        Veteran
                        • Oct 2019
                        • 1004

                        #41
                        Really modest goal right now: get a couple minor corrections that no one could dispute accepted into the code base.



                        Is there anything I should be doing that I'm not, or anything that I am doing that I should not be? Please keep in mind my earlier disclaimer that I have zero experience contributing to any open source projects, including *bands. I am not trying to overstep my bounds, imply that I am entitled to anything, or be rude in any way.
                        Please like my indie game company on Facebook! https://www.facebook.com/RatherFunGames

                        Comment

                        • Pete Mack
                          Prophet
                          • Apr 2007
                          • 6883

                          #42
                          Those changes are fine. Nick is quite good at picking up such fixes

                          Comment

                          • Nick
                            Vanilla maintainer
                            • Apr 2007
                            • 9638

                            #43
                            Originally posted by DavidMedley
                            Is there anything I should be doing that I'm not, or anything that I am doing that I should not be?
                            As Pete says, you're doing just fine. There has been pretty much no development of V for a bit, but the reasons are mine, not anyone else's. I will get to your (and other) pull requests soon, plus other bugfixing; there's also a change in bug reporting, which I will mention in a separate thread.
                            One for the Dark Lord on his dark throne
                            In the Land of Mordor where the Shadows lie.

                            Comment

                            Working...
                            😀
                            😂
                            🥰
                            😘
                            🤢
                            😎
                            😞
                            😡
                            👍
                            👎