mirror of
https://github.com/AndrioCelos/TableturfBattleApp.git
synced 2026-03-24 19:04:08 -05:00
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.
26 lines
540 B
C#
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;
|
|
}
|