• CarlsIII@kbin.social
    link
    fedilink
    arrow-up
    5
    ·
    edit-2
    1 year ago

    I didn’t read the article but I know that in the card game, the cards aren’t shuffled at all, there are just about four preset layouts of the cards.

    • CrulOP
      link
      fedilink
      English
      arrow-up
      7
      ·
      1 year ago

      there are just bout four preset layouts of the cards.

      It’s 8 different layouts, but yes, they are only a few of them. The funny thing is that they are not hardcoded, but the result of a buggy implementation of an algorithm that could have generated millions of different layouts. The specific assembly code is explained line by line on the video.