I would either change that to a grid system, as your most likely to need an array to hold the 'board' anyway, I would do that from the outset.
I think it might just be the for...next loop causing confusion. If you use an integer X and Y, and multiply the position, you might have more convenient control over things. Like:
for(y=0; y<10; y++)
{
for(x=0; x<10; x++)
{
float px = x * 63.0f;
float py = y * 43.0f;
dbBox(px,py,px+ width,py+ height);
}
}
And with that, a simple booleon flag to offset on X...
int xoff = 1;
for(y=0; y<10; y++)
{
xoff = 1-xoff;
for(x=0; x<10; x++)
{
float px = ( xoff * 31.5) + ( x * 63.0f );
float py = y * 43.0f;
dbBox(px,py ,px+ width,py+ height);
}
}
That ''xoff = 1-xoff;'' bit will swap xoff between 0 and 1.

Health, Ammo, and bacon and eggs!
