Hi everyone. As you can tell by my question, I’m in a unique situation. I’m trying to finish a lab that involves setting up a game of chess by using a 2d array. I had some minor issues starting out but was able to fix those, but I am completely stuck on the last part.The instructions say to make a loop, which is suppose to use a calculation involving x and z values and multiply them by 1.1142857, that will center the chess pieces on the spaces on the chess board. My knowledge is limited on loops and arrays, and i cannot think of anything that will work. Is it possible that anyone can help me?
The code is in c#.
Also, here’s a link to the lab I’m doing (In case you try to help and my explanation doesn’t clarify or is too confusing.)
http://ksuweb.kennesaw.edu/~rgesick1/cse%201302c/Labs%20unity/lab03%20chess/cse1302_lab_3__2d_arrays.html
2955604–219251–BoardManager.cs (1.96 KB)