View Single Post
fargoth is offline
Jul30-06, 05:32 AM
P: 400
I'm not sure i understand what your problem is....

are you having difficulties in drawing the squares?
you only need two for loops to draw everything, one that goes over the width, and one that goes over the height.

for drawing the vertical frame you'll need x%9 to be zero and for the horrizontal y%5... (to draw them every 9 steps or every 5 steps respectively).

you need to draw the chess peices in this loop too, make an array which represent the board, and check if the spot you draw contains a piece, make an array that contains each shape (3x7 i guess), and copy it over as you draw with these two for statements...