#include <stdio.h>

#define SIZE 8
#define PLAYERS 4

typedef struct
{
    char piece;     // K,Q,R,B,N,P
    int player;     // 0 = empty, 1-4 = players
} Cell;

Cell board[SIZE][SIZE];

int current_player = 1;
int player_alive[PLAYERS + 1];

int main(void) {
    int i, j;

    printf("\n");

    for(i = 0; i < SIZE; i++)
    {
        printf("%d  ", SIZE - i);

        for(j = 0; j < SIZE; j++)
        {
            printf("%c ", board[i][j].piece);
        }

        printf("\n");
    }

    printf("\n   ");

    for(j = 0; j < SIZE; j++)
        printf("%c ", 'A' + j);

    printf("\n");
	return 0;
}
