// white
board[0][0] = RW;
board[0][1] = KW;
board[0][2] = BW;
board[0][3] = QW;
board[0][4] = KW;
board[0][5] = BW;
board[0][6] = KW;
board[0][7] = RW;
for (int i=0; i<8; i++)
board[1][i] = PW;
// vacant
for (int r=2; r<=5; r++)
for (int c=0; c<8; c++)
board[r][c] = NONE;
// black
for (int i=0; i<8; i++)
board[6][i] = PB;
board[7][0] = RB;
board[7][1] = KB;
board[7][2] = BB;
board[7][3] = QB;
board[7][4] = KB;
board[7][5] = BB;
board[7][6] = KB;
board[7][7] = RB;