-
Notifications
You must be signed in to change notification settings - Fork 0
/
Config.cs
29 lines (26 loc) · 903 Bytes
/
Config.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using static BlackJackSimul.ShoeEditor;
namespace BlackJackSimul
{
/// <summary>
/// Configuration read from Configuration.json
/// </summary>
public class Config
{
public int ShoeDeckTotalNumber { get; set; } = 8;
public int ShoeDeckToExtractNumber { get; set; } = 4;
public int SimulationTotalShoes { get; set; } = 100;
public float ShoeTrueCounter { get; set; } = 0;
[JsonProperty("CounterType")]
[JsonConverter(typeof(StringEnumConverter))]
public CounterType CounterT { get; set; }
public float FlatBet { get; set; }
public bool f_dealer_Soft17_hit { get; set; } = false;
public bool f_print_hands_on_console { get; set; } = true;
public Config Clone()
{
return (Config)MemberwiseClone();
}
}
}