feat: added web view 1v1

This commit is contained in:
shahdlala66
2026-04-17 23:20:16 +02:00
commit 1828fa3275
80 changed files with 11876 additions and 0 deletions
@@ -0,0 +1,20 @@
<div class="board-shell">
<div class="board-grid">
@for (square of squares; track trackByCoordinate($index, square)) {
<button
type="button"
class="square"
[class.light]="square.isLight"
[class.dark]="!square.isLight"
[class.selected]="isSelected(square)"
[class.highlighted]="isHighlighted(square)"
[attr.data-square]="square.coordinate"
(click)="onSquareClick(square)"
>
<app-chess-piece [pieceCode]="square.pieceCode" />
</button>
}
</div>
<img class="board-bottom" src="/arabian-chess/sprites/board/board_bottom.png" alt="Board frame" />
</div>