Getting started on how-to-play instructions.

This commit is contained in:
2024-09-07 03:41:11 +00:00
parent 22d332c246
commit 0eb75994c9
31 changed files with 4666 additions and 31 deletions

View File

@@ -66,7 +66,7 @@
</section>
<!-- Side board -->
@if (Session != null)
@if (Session != null && UseSideboard == true)
{
<aside class="side-board PrimaryTheme ThemeVariant--Contrast">
<div class="player-area">
@@ -121,6 +121,13 @@
</article>
@code {
static readonly string[] Files = new[] { "A", "B", "C", "D", "E", "F", "G", "H", "I" };
/// <summary>
@@ -136,6 +143,7 @@
[Parameter] public Func<Piece, Task>? OnClickHand { get; set; }
[Parameter] public Func<Task>? OnClickJoinGame { get; set; }
[Parameter] public bool IsMyTurn { get; set; }
[Parameter] public bool UseSideboard { get; set; } = true;
private IReadOnlyCollection<Piece> opponentHand;
private IReadOnlyCollection<Piece> userHand;