import { Component, Input } from '@angular/core';

@Component({
  selector: 'app-player-card',
  standalone: true,
  imports: [],
  templateUrl: './player-card.component.html',
  styleUrl: './player-card.component.css'
})
export class PlayerCardComponent {
  @Input({ required: true }) name = '';
  @Input({ required: true }) initial = '';
  @Input({ required: true }) color: 'white' | 'black' = 'white';
  @Input() isActive = false;
  @Input() clockDisplay = '--:--';
  @Input() isLowTime = false;
  @Input() capturedPieces: string[] = [];
}
