• Venator@lemmy.nz
    link
    fedilink
    arrow-up
    95
    ·
    10 months ago

    Reminds me of how I made tic tac toe game for my first university assignment 🤣

    • jaybone@lemmy.world
      link
      fedilink
      arrow-up
      40
      ·
      10 months ago

      That has a finite number of moves. And then you could possibly generate the code based on that finite set.

      • Shard@lemmy.world
        link
        fedilink
        arrow-up
        40
        ·
        10 months ago

        Chess technically has a finite number of moves. Although its a huge number and some have theorized its larger than the number of atoms in the known universe.

        • Albbi@lemmy.ca
          link
          fedilink
          arrow-up
          11
          arrow-down
          3
          ·
          10 months ago

          Technically it’s infinite, but that’s because of a stalemate. You can keep repeating the same moves over and over.