Navigation

    Fuze Arena Logo
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Help
    • Discord

    Randomizing Arrays

    Beginners
    3
    4
    230
    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.
    • D
      Devoid21 last edited by

      Is it possible in FUZE to create and array and randomly shuffle its contents? Example, colors = [ red, blue, green ], after shuffling, colors = [ green, red, blue ]. I’m trying to make a game that needs this mechanic, but for the life of me I just can’t seam to figure out how to do it.😩

      P 1 Reply Last reply Reply Quote 0
      • pianofire
        pianofire Fuze Team last edited by

        Take a look at this post: https://fuzearena.com/forum/topic/1066/card-shuffling-algorithm-needed/3

        1 Reply Last reply Reply Quote 2
        • P
          petermeisenstein F @Devoid21 last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • D
            Devoid21 last edited by

            Thanks pianofire, I’ve been banging my head for hours trying to figure it out.

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