Пример #1
0
 public NextEvolution NextRound(NextEvolution request)
 {
     return
         (new DTONextEvolution(
              new DefaultEvolution(
                  request.currentRound,
                  request.livingCells.Select(cell => new Coordonnate(cell.coordX, cell.coordY))
                  )
              .EvolutionnateGame()
              ).Reponse());
 }
Пример #2
0
 public NextEvolution[] HistorizeGames(NextEvolution request)
 {
     return
         (new DTOArrayNextEvolution(
              new EvolutionUntil(
                  request.lastRound,
                  new DefaultEvolution(request.livingCells.Select(cell => new Coordonnate(cell.coordX, cell.coordY)))
                  )
              .EvolutionnateGame()
              .History()
              ).Reponse());
 }