namespace Gameboard.ShogiUI.Domain
{
public class Match
{
public string Name { get; }
public string Player1 { get; }
public string Player2 { get; }
///
/// Initialize pre-existing Match.
///
public Match(MatchMeta meta, Board board)
{
Name = meta.Name;
Player1 = meta.Player1;
Player2 = meta.Player2;
}
///
/// Create a new Match.
///
public Match(string name, string player1)
{
Name = name;
Player1 = player1;
}
}
}