I am working on a ''dice'' game. The data for my program looks like three columns, one per each roll. Assume 5 different players will each get 2 rolls, so the data is like a 5x2 grid containing a "string" (not an integer) spelling out the number in the range 1-6.
The stipulation of this game is that if a player rolls a "unique" number, they automatically win the game. How would I implement this function?
I don't have any real code beyond gathering the "roll" data. I am thinking of using nested for loops. I do not know what type of function to use, however.