Exemplo n.º 1
0
 private Game(Board board, GameState state, CustomRule rule, GameRecord record)
 {
     Board  = board;
     State  = state;
     Rule   = rule;
     Record = record;
 }
Exemplo n.º 2
0
 public Game(Board board, GameState state, CustomRule rule)
 {
     Board            = board;
     State            = state;
     Rule             = rule;
     Record           = new GameRecord(State);
     State.GameResult = CreateGameResult();
 }