Getting started on how-to-play instructions.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user