Gravachess code updates

Sort:
Makesteamgamesfree

Here I'll post my code I have currently written for gravachess here

#include<bits/stdc++.h>
using namespace std;
struct piece
{
    int rowp;
    int colp;
    bool stat=1;
} p[32];
int main()
{
    char board_setup[8][8]={
        {'r','n','b','q','k','b','n','r'},
        {'p','p','p','p','p','p','p','p'},
        {' ',' ',' ',' ',' ',' ',' ',' '},
        {' ',' ',' ',' ',' ',' ',' ',' '},
        {' ',' ',' ',' ',' ',' ',' ',' '},
        {' ',' ',' ',' ',' ',' ',' ',' '},
        {'P','P','P','P','P','P','P','P'},
        {'R','N','B','Q','K','B','N','R'}
    };//This will be our initial position, you can play with custom positions.
    char col;
    int  row;
    cout<<"Version 1.0.0\n"
        <<"No checkmate, capture the king to win.\n"
        <<"I\'ll do updates time to time.\n";
    cin>>col>>row;
    if(board_setup[(int)(col-'a')-1][row-1]==' ')
    {
        cout<<"Invalid piece!";
    }
    else
    {
        cin>>col>>row;
    }