@aesincs on Taxicab · about 2 months ago 18m logged Wrote the shuffle(). It’s random and checked for solvability using inversions. The number of inversions must be even since this is a 15-puzzle as opposed to a 8-puzzle or 24-puzzle.
@aesincs on Taxicab · about 2 months ago 18m logged Wrote the shuffle(). It’s random and checked for solvability using inversions. The number of inversions must be even since this is a 15-puzzle as opposed to a 8-puzzle or 24-puzzle.
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.