Fixed accidentally building the board from player2 perspective.

This commit is contained in:
2021-04-06 19:52:02 -05:00
parent 2d5c6b20b9
commit 05a9c71499
45 changed files with 441 additions and 276 deletions

View File

@@ -14,7 +14,7 @@ namespace Gameboard.ShogiUI.Sockets.ServiceModels.Socket.Messages
{
public string Action { get; private set; }
public Game Game { get; set; }
public IReadOnlyList<Move> Moves { get; set; }
public BoardState BoardState { get; set; }
public string Error { get; set; }
public LoadGameResponse(ClientAction action)

View File

@@ -15,7 +15,7 @@ namespace Gameboard.ShogiUI.Sockets.ServiceModels.Socket.Messages
public string Action { get; }
public string Error { get; set; }
public string GameName { get; set; }
public Move Move { get; set; }
public BoardState BoardState { get; set; }
public string PlayerName { get; set; }
public MoveResponse(ClientAction action)