Here is a fun thread where we can ask what an algorithm or design pattern is called, thus letting us research the 40+ years on algorithms and implement it in our games.

I am trying to come up with an array of six numbers. It represents characters talking. The first one is picked by the player and inserted in the first (0th) spot of the array.

The other five should be random and not repeat.

It’s sort of like a sorting algorithm but I feel there is a proper name for generating a random list of six numbers. Anyone recall?