Typedef Structs inside Typdef structs
Hello, I'm currently making a game, called rubik cube, however, this is more a syntax question than it is about the game properly.
I have defined the following structure, and canęt find out how to initialize the whole structure.
// each square of the little cubes in the rubik cube
// Cubes in the rubik cube
// Check if its side is valid, eg. If it shows on the rubik cube
// Rubik cube
I was thinking of doing something like this:
//initialization goes here
The hard part i find by now, is making the initialization...
The axys variable has to do to which side the cube(s) are turning to, so that i can show the correct collors.
The collors at the beggining, will be filled probably with numbers from 0 to 5, or something like that.
I would also appreciate some feedback on the way I'm trying to make the game, and know if I'm proceeding correctly.