TableturfBattleApp/TableturfBattleServer/SingleGameData.cs
Andrio Celos dcb669490c Multiple-game sets
This allows any number of games to be played in a room.
Each player bar will show the number of games that player has won. If a goal win count is selected in More Options, the set will end when someone reaches that many wins. Otherwise, players can start a new game after the game ends.
2023-08-13 22:20:23 +10:00

26 lines
540 B
C#

using Newtonsoft.Json;
namespace TableturfBattleServer;
public class SingleGameData {
[JsonProperty("specialPoints")]
public int SpecialPoints { get; set; }
[JsonProperty("totalSpecialPoints")]
public int TotalSpecialPoints { get; set; }
[JsonProperty("passes")]
public int Passes { get; set; }
[JsonIgnore]
internal bool won = false;
[JsonIgnore]
internal List<ReplayTurn> turns = new(12);
[JsonIgnore]
internal Card[]? Deck;
[JsonIgnore]
internal int[]? initialDrawOrder;
[JsonIgnore]
internal int[]? drawOrder;
}