8e2afb93f3
- NCWF-5: scaffold /analysis route with ChessBoard viewer and navigation - NCWF-6: FEN / PGN / Game-ID input form with depth selector - NCWF-7: extend GameApiService with analyzePosition(); add AnalysisService with game-wide annotation pipeline; proxy /api/analysis -> :8087 - NCWF-8: EvalTimelineComponent — SVG win-chance chart per ply - NCWF-9: AnnotatedMoveListComponent — quality labels (!! ! ?! ? ??) derived from win-chance delta Also fix pre-existing app.spec.ts failure (missing provideHttpClient). Apply project-wide prettier formatting pass. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
27 lines
659 B
HTML
27 lines
659 B
HTML
<div class="player" [class.is-turn]="isActive">
|
|
<div
|
|
class="player-avatar"
|
|
[class.avatar-black]="color === 'black'"
|
|
[class.avatar-white]="color === 'white'"
|
|
>
|
|
{{ initial }}
|
|
</div>
|
|
|
|
<div class="player-info">
|
|
<div class="player-name">{{ name }}</div>
|
|
@if (capturedPieces.length > 0) {
|
|
<div class="captured">
|
|
@for (pc of capturedPieces; track $index) {
|
|
<span class="pc">{{ pc }}</span>
|
|
}
|
|
</div>
|
|
}
|
|
</div>
|
|
|
|
@if (clockDisplay !== '--:--') {
|
|
<div class="clock" [class.clock-active]="isActive" [class.clock-low]="isLowTime && !isActive">
|
|
{{ clockDisplay }}
|
|
</div>
|
|
}
|
|
</div>
|