Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

agnos.is Forums

  1. Home
  2. Programmer Humor
  3. Coding chess

Coding chess

Scheduled Pinned Locked Moved Programmer Humor
programmerhumor
101 Posts 68 Posters 36 Views
  • 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.
  • M This user is from outside of this forum
    M This user is from outside of this forum
    [email protected]
    wrote on last edited by
    #1
    This post did not contain any content.
    D capuccino@lemmy.worldC S P M 19 Replies Last reply
    685
    • M [email protected]
      This post did not contain any content.
      D This user is from outside of this forum
      D This user is from outside of this forum
      [email protected]
      wrote on last edited by
      #2

      AI has probably finished this game by now.

      M 1 Reply Last reply
      13
      • D [email protected]

        AI has probably finished this game by now.

        M This user is from outside of this forum
        M This user is from outside of this forum
        [email protected]
        wrote on last edited by
        #3

        And still lost.

        1 Reply Last reply
        11
        • M [email protected]
          This post did not contain any content.
          capuccino@lemmy.worldC This user is from outside of this forum
          capuccino@lemmy.worldC This user is from outside of this forum
          [email protected]
          wrote on last edited by
          #4

          if that is python then makes sense

          1 Reply Last reply
          3
          • M [email protected]
            This post did not contain any content.
            S This user is from outside of this forum
            S This user is from outside of this forum
            [email protected]
            wrote on last edited by
            #5

            Honestly back when I was a kid this is how I thought games were made, every possible image of a game was already saved and according to your input it just loaded the next image.

            I stopped thinking that with 3d games

            scoopta@programming.devS 0 P N cirk2@programming.devC 10 Replies Last reply
            101
            • S [email protected]

              Honestly back when I was a kid this is how I thought games were made, every possible image of a game was already saved and according to your input it just loaded the next image.

              I stopped thinking that with 3d games

              scoopta@programming.devS This user is from outside of this forum
              scoopta@programming.devS This user is from outside of this forum
              [email protected]
              wrote on last edited by
              #6

              Even with 2D games that's basically impossible. Only time it could work is with turn based games and then...you end up with this post lol.

              W 1 Reply Last reply
              13
              • S [email protected]

                Honestly back when I was a kid this is how I thought games were made, every possible image of a game was already saved and according to your input it just loaded the next image.

                I stopped thinking that with 3d games

                0 This user is from outside of this forum
                0 This user is from outside of this forum
                [email protected]
                wrote on last edited by
                #7

                I thought that they were managing that stuff on a per-pixel basis, no engine, assets, or other abstractions, just raw-dogging pixel colors.

                And before I even played video games at all I was watching somebody play some assassin's creed game I think and I thought the player had to control every single limb qwop-style.

                F D 2 Replies Last reply
                30
                • M [email protected]
                  This post did not contain any content.
                  P This user is from outside of this forum
                  P This user is from outside of this forum
                  [email protected]
                  wrote on last edited by
                  #8

                  Laughable for chess, but essentially how Steve Mould played tic tac toe using synthesized DNA.

                  1 Reply Last reply
                  3
                  • S [email protected]

                    Honestly back when I was a kid this is how I thought games were made, every possible image of a game was already saved and according to your input it just loaded the next image.

                    I stopped thinking that with 3d games

                    P This user is from outside of this forum
                    P This user is from outside of this forum
                    [email protected]
                    wrote on last edited by
                    #9

                    I remember having a thought one day as a young kid while interacting with a DVD main menu (the kind that had clips from the movie playing in the background, and would play a specific clip depending on what menu you went in to).

                    "This is basically how video games work, there's a bunch of options you can choose from and depending on what you do it shows you something. Videogames are just DVD menus with way more options."

                    I grew up to not be a programmer.

                    B K 2 Replies Last reply
                    8
                    • S [email protected]

                      Honestly back when I was a kid this is how I thought games were made, every possible image of a game was already saved and according to your input it just loaded the next image.

                      I stopped thinking that with 3d games

                      N This user is from outside of this forum
                      N This user is from outside of this forum
                      [email protected]
                      wrote on last edited by
                      #10

                      I grew up mostly with the PS2 and above and I thought the same thing 😅. I did think there had to be a better way though

                      1 Reply Last reply
                      0
                      • S [email protected]

                        Honestly back when I was a kid this is how I thought games were made, every possible image of a game was already saved and according to your input it just loaded the next image.

                        I stopped thinking that with 3d games

                        cirk2@programming.devC This user is from outside of this forum
                        cirk2@programming.devC This user is from outside of this forum
                        [email protected]
                        wrote on last edited by
                        #11

                        Its not terribly far off from pre rendered or FMV games like Myst are doing it.

                        1 Reply Last reply
                        1
                        • M [email protected]
                          This post did not contain any content.
                          M This user is from outside of this forum
                          M This user is from outside of this forum
                          [email protected]
                          wrote on last edited by
                          #12

                          As a middle schooler I used Power Point to make FMV games for my friends and classmates, and it was basically this. Just, like, SO MANY slides

                          1 Reply Last reply
                          9
                          • S [email protected]

                            Honestly back when I was a kid this is how I thought games were made, every possible image of a game was already saved and according to your input it just loaded the next image.

                            I stopped thinking that with 3d games

                            thetechnician27@lemmy.worldT This user is from outside of this forum
                            thetechnician27@lemmy.worldT This user is from outside of this forum
                            [email protected]
                            wrote on last edited by
                            #13

                            I remember speculating as a (small) kid that the AI soldiers in Battlefront II's local multiplayer might be real people employed by the developer. Not the brightest child was I.

                            D 1 Reply Last reply
                            1
                            • M [email protected]
                              This post did not contain any content.
                              voidjuiceconcentrate@midwest.socialV This user is from outside of this forum
                              voidjuiceconcentrate@midwest.socialV This user is from outside of this forum
                              [email protected]
                              wrote on last edited by
                              #14

                              Programming chess as a single lookup table is wild

                              grendel84@tiny.tilde.websiteG kolanaki@pawb.socialK mormegil@programming.devM 3 Replies Last reply
                              50
                              • voidjuiceconcentrate@midwest.socialV [email protected]

                                Programming chess as a single lookup table is wild

                                grendel84@tiny.tilde.websiteG This user is from outside of this forum
                                grendel84@tiny.tilde.websiteG This user is from outside of this forum
                                [email protected]
                                wrote on last edited by
                                #15

                                @VoidJuiceConcentrate @maris

                                Right?

                                pretty sure there are more possible chess positions than atoms in the earth (universe?), so even if every atom of our planet were converted to transistors there'd be no way to fully represent all possibilities.

                                Z 1 Reply Last reply
                                13
                                • scoopta@programming.devS [email protected]

                                  Even with 2D games that's basically impossible. Only time it could work is with turn based games and then...you end up with this post lol.

                                  W This user is from outside of this forum
                                  W This user is from outside of this forum
                                  [email protected]
                                  wrote on last edited by
                                  #16

                                  I see you've never played "Dragon's Lair", where every scene was cell animated and the player "chose" the path that the animation would take.

                                  W captain_aggravated@sh.itjust.worksC scoopta@programming.devS 3 Replies Last reply
                                  10
                                  • 0 [email protected]

                                    I thought that they were managing that stuff on a per-pixel basis, no engine, assets, or other abstractions, just raw-dogging pixel colors.

                                    And before I even played video games at all I was watching somebody play some assassin's creed game I think and I thought the player had to control every single limb qwop-style.

                                    F This user is from outside of this forum
                                    F This user is from outside of this forum
                                    [email protected]
                                    wrote on last edited by [email protected]
                                    #17

                                    In the first few Assassin's Creed games, they did use the idea of a Puppeteer system for the control scheme, although it wasn't physics-based or anywhere near as hard as QWOP. Each of the controllers face buttons performed actions associated with each limb, and the right trigger would swap between low profile actions and high profile actions.

                                    In the top right of the screen, there was always a UI element showing what the buttons did at that moment in that context, which might've been why you thought it was a QWOP style system. It's not exactly what you were thinking of at the time, but you were closer than you realise.

                                    Z 1 Reply Last reply
                                    10
                                    • voidjuiceconcentrate@midwest.socialV [email protected]

                                      Programming chess as a single lookup table is wild

                                      kolanaki@pawb.socialK This user is from outside of this forum
                                      kolanaki@pawb.socialK This user is from outside of this forum
                                      [email protected]
                                      wrote on last edited by
                                      #18

                                      I would have probably done it in my high school programming class to be funny and also fuck with my teacher, because they were an asshole.

                                      1 Reply Last reply
                                      4
                                      • M [email protected]
                                        This post did not contain any content.
                                        X This user is from outside of this forum
                                        X This user is from outside of this forum
                                        [email protected]
                                        wrote on last edited by
                                        #19

                                        This is where you'd normally go "there must be a better way..."

                                        Q 1 Reply Last reply
                                        2
                                        • grendel84@tiny.tilde.websiteG [email protected]

                                          @VoidJuiceConcentrate @maris

                                          Right?

                                          pretty sure there are more possible chess positions than atoms in the earth (universe?), so even if every atom of our planet were converted to transistors there'd be no way to fully represent all possibilities.

                                          Z This user is from outside of this forum
                                          Z This user is from outside of this forum
                                          [email protected]
                                          wrote on last edited by
                                          #20

                                          This was a fun one to look up. https://en.wikipedia.org/wiki/Shannon_number

                                          It looks like the number of valid chess positions is in the neighborhood of 10^40 to 10^44, and the number of atoms in the Earth is around 10^50. Yeah the latter is bigger, but the former is still absolutely huge.

                                          Let's assume we have a magically amazing diamond-based solid state storage system that can represent the state of a chess square by storing it in a single carbon atom. The entire board is stored in a lattice of just 64 atoms. To estimate, let's say the total number of carbon atoms to store everything is 10^42.

                                          Using Avogadro's number, we know that 6.022x10^23 atoms of carbon will weigh about 12 grams. For round numbers again, let's say it's just 10^24 atoms gives you 10 grams.

                                          That gives 10^42 / 10^24 = 10^18 quantities of 10 grams. So 10^19 grams or 10^16 kg. That is like the mass of 100 Mount Everests just in the storage medium that can store multiple bits per atom! That SSD would be the size of a small large moon!

                                          C P lime@feddit.nuL A 4 Replies Last reply
                                          25
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups