public NextEvolution NextRound(NextEvolution request) { return (new DTONextEvolution( new DefaultEvolution( request.currentRound, request.livingCells.Select(cell => new Coordonnate(cell.coordX, cell.coordY)) ) .EvolutionnateGame() ).Reponse()); }
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()); }