#include <iostream>

using namespace std;

int x[2] = {1, 2};
int y[2] = {1, 2};

int main()
{
    cout << "player_1" << endl;
    cout << "x: " << x[0] << endl;
    cout << "y: " << y[0] << endl;
    cout << endl;

    cout << "player_2" << endl;
    cout << "x: " << x[1] << endl;
    cout << "y: " << y[1] << endl;
    cout << endl;

    return 0;
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: