Heads up, I am a beginer so please ignore the fact that I have a limited vocabulary!
So I want to make a game of dominoes. I want to make each domino an object so I can know all the important information (like if it is on the board and if so then where) Basically the code would look like this if I were just creating the numbers for the domino:
for(int x = 12; x >= 0; x--)
{
for(int y = 0; y <= x; y++)
{
Domino domxy = new Domino(x,y);
}
}
Where "domxy" if x = 12 and y = 0, the name is dom120 giving each domino a unique name.