import React from "react";
import Resource from './Resource.js';
import "./PlayersStatus.css";
import BoardPieces from './BoardPieces.js';
import { getPlayerName } from './Common.js';
import PlayerColor from './PlayerColor.js';
import Placard from './Placard.js';
const Player = ({ table, color, onClick, reverse }) => {
if (!table.game) {
return <>>;
}
const game = table.game;
const player = game.players[color];
const developmentCards = player.unplayed
?