Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    @sierdzio - updated Game Of Life

    The Lounge
    4
    10
    4204
    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.
    • T
      tucnak last edited by

      Hi, people, and especially @sierdzio!

      @sierdzio, I've read your old code (from "this":http://qt-project.org/forums/viewreply/90102/ comment in "this":http://qt-project.org/forums/viewthread/18404/ thread and created my own Game Of Life. I wrote it in three hours, so it can't be really cool, but it has functionallity of your implementation.

      !http://habrastorage.org/storage2/07c/1ad/cc9/07c1adcc96a539d7065bdae4e65a6b10.png(50x50)!
      !http://habrastorage.org/storage2/d08/06e/fe8/d0806efe8bbe5ddf0799ae4060c5260f.png(100x100)!
      !http://habrastorage.org/storage2/c1c/72e/210/c1c72e210b2fbe06cb8c39035c14ba80.png(100x100 + another color)!

      Source code on "GitHub":https://github.com/tucnak/conway.

      P.S. My russian "post":http://habrahabr.ru/post/147208/ about it.

      1 Reply Last reply Reply Quote 0
      • T
        tucnak last edited by

        I am planning to add extra functionallity like setting number of generations, opportunity to add extra rules via QtScript and etc.

        1 Reply Last reply Reply Quote 0
        • sierdzio
          sierdzio Moderators last edited by

          Well, I'm happy to see my code is put to some use :) I have noticed now, that I have not specified ANY license for that project... but I don't care much. Let's say it's GPLv2, but can be changed if you need it to be different :) This way you can borrow code from my project, if you want to.

          Nice work, for just 3 hours it's really impressive! No Langton's Ant there, though.

          Be sure to check out "Golly":http://golly.sourceforge.net/, it's powerful, too.

          (Z(:^

          1 Reply Last reply Reply Quote 0
          • U
            utcenter last edited by

            How many iterations until entities become sentient? ;)

            1 Reply Last reply Reply Quote 0
            • sierdzio
              sierdzio Moderators last edited by

              Not sure, but last time I turned it on and left for some time, and then got back, two gliders were already playing chess with each other...

              (Z(:^

              1 Reply Last reply Reply Quote 0
              • T
                tucnak last edited by

                [quote author="sierdzio" date="1341560134"]Well, I'm happy to see my code is put to some use :) I have noticed now, that I have not specified ANY license for that project... but I don't care much. Let's say it's GPLv2, but can be changed if you need it to be different :) This way you can borrow code from my project, if you want to.

                Nice work, for just 3 hours it's really impressive! No Langton's Ant there, though.

                Be sure to check out "Golly":http://golly.sourceforge.net/, it's powerful, too.[/quote]

                Thanks for "Golly" - I will check out it. And I haven't used your code ;-) - only design concept. But AFAIK - GUI can't be protected under licenses.

                1 Reply Last reply Reply Quote 0
                • sierdzio
                  sierdzio Moderators last edited by

                  [quote author="tucnak" date="1341659181"] And I haven't used your code ;-) - only design concept. But AFAIK - GUI can't be protected under licenses.[/quote]

                  Yeah I have noticed, I had a quick look into the code before writing my post. It was meant more like a declaration for the future: if you want to take any part of the code, feel free to :)

                  As for GUI you are right, the famous Apple-Microsoft court case has it settled (at least in USA) years ago.

                  (Z(:^

                  1 Reply Last reply Reply Quote 0
                  • T
                    tucnak last edited by

                    [quote author="sierdzio" date="1341661221"][quote author="tucnak" date="1341659181"] And I haven't used your code ;-) - only design concept. But AFAIK - GUI can't be protected under licenses.[/quote]

                    Yeah I have noticed, I had a quick look into the code before writing my post. It was meant more like a declaration for the future: if you want to take any part of the code, feel free to :)

                    As for GUI you are right, the famous Apple-Microsoft court case has it settled (at least in USA) years ago.[/quote]

                    Thanks, if I need - I will ;)

                    1 Reply Last reply Reply Quote 0
                    • J
                      john_god last edited by

                      I've trying this game and it's very nice, didn't know about it.
                      Off topic: has for GUI not being protected under licenses, anybody knows the terms of ribbon MS license, just out of curiosity ?

                      1 Reply Last reply Reply Quote 0
                      • sierdzio
                        sierdzio Moderators last edited by

                        There is no GUI licensing at all. The only way to protect a GUI is by using patents (or arguing fiercely for copyright in court). The code that generates the GUI, however, can have a license.

                        (Z(:^

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post