• Taalen@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        8 months ago

        The way I understood it, it’s two million lines and nowhere near finished.

        Anyway, satire.

      • flames5123@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        8 months ago

        You only have to code a fraction of those as the computer should take the same move for several of the user inputs.

      • PeriodicallyPedantic@lemmy.ca
        link
        fedilink
        arrow-up
        0
        ·
        edit-2
        8 months ago

        That’s the number of possible games, the number of possible board states is much lower, 10^40.

        Although you’re still clearly correct in the end anyways because it’s still an absurd number of board states and it’s not even formatted to be one state per line.

      • Xyre@lemmus.org
        link
        fedilink
        English
        arrow-up
        1
        ·
        8 months ago

        For a second there I thought the 100% science-based dragons game had been made.

      • CeeBee@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        edit-2
        8 months ago

        My eyes! The global variable list is huge!

        Edit: nm, I looked again and they’re in a class. Still insane either way.

    • Droggelbecher@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      edit-2
      8 months ago

      There’s a mathematician that figured that there’s 10^120 possible chess games, as a lower bound. https://en.m.wikipedia.org/wiki/Shannon_number#:~:text=Shannon showed a calculation for,a Computer for Playing Chess". That’s a 1 followed by 120 zeros for just the number of possible games. With this method they’d have to manually go through every move for every one of those games. If we say a game lasts 30 turns on average and they’d take 1 second to code each turn (realistically it’d be longer) it’d take 6.9*10^109 (69 followed by 108 zeros) times as long as the age of the universe.

    • nicolairathjen@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      8 months ago

      The post is satire, but I remember being ~8-9 and trying to create a “game” in Microsoft Word with hyperlinks between documents and nothing else. I had hundreds of documents (each representing a game state) before I got tired of that project.