revamping domain

This commit is contained in:
2022-10-30 18:36:23 -05:00
parent b8ac227199
commit 689de35c3b
16 changed files with 161 additions and 105 deletions

View File

@@ -1,10 +1,10 @@
namespace Shogi.Contracts.Types
namespace Shogi.Contracts.Types;
public class Session
{
public class Session
{
public string Player1 { get; set; }
public string? Player2 { get; set; }
public string SessionName { get; set; }
public BoardState BoardState { get; set; }
}
public string Player1 { get; set; } = string.Empty;
public string? Player2 { get; set; }
public string SessionName { get; set; } = string.Empty;
public bool GameOver { get; set; }
public BoardState BoardState { get; set; }
}