C#C
C#3y ago
Gerald

❔ I'm not sure what to use here... A Multidimensional Array? A hash table? A Matrix?

This is going to be a bit of a winded question. I'm currently trying to design an outcome system that abuses numbers in a 3D space. I have a 3D example that's been flattened out to show what I wish to create.
These numbers will be separated into 6 individual groups each containing 9 different slots who contain a possible value of 0-9. The interchangeable values can be effected by a user's input at all times. Now, I'm not 100% sure what I should use here. All I can say is that the reason for why this is a 3 dimensional piece rather than using only 3 rows and 3 columns is because of how the numbers can be changed and what each face (such as a row's value or a face's pattern) will represent once set. While the user's input can also change a single slot's value, the user can also make drastic changes much like a Rubik's cube.

For example: If a user does "X", the result of Y would be:
-Top Face (Or all the rows and columns belonging to the top face, including the rows belonging to front, back, left and right) have their values rotate clockwise.
Example_of_3D_puzzle.png
Was this page helpful?