package org.sam;

import org.sam.Tournament.Tournament;
import org.sam.Tournament.TournamentFactory;
import org.sam.game.*;
import org.sam.genetics.Evolution;
import org.sam.tree.*;
import org.sam.tree.BinaryFunctions.AddOperationNode;
import org.sam.tree.BinaryFunctions.SubtractionOperationNode;
import org.sam.tree.Terminals.ConstantNode;

import java.util.List;

public class Main {

    public static void main(String[] args) {
        Tournament tournament = TournamentFactory.tournament();

        List<Player> winners = tournament.runTournament();

        Game game = new Game();

        game.startGame(new HumanPlayer(), winners.get(0));
    }
}

@@ -155,191 +155,8 @@
 ion;
-%0Aimport org.sam.tree.*;%0Aimport org.sam.tree.BinaryFunctions.AddOperationNode;%0Aimport org.sam.tree.BinaryFunctions.SubtractionOperationNode;%0Aimport org.sam.tree.Terminals.ConstantNode;
 %0A%0Aim
@@ -255,61 +255,47 @@
     
-Tournament tournament = TournamentFactory.tournament(
+Evolution evolution = new Evolution(272
 );%0A%0A
@@ -306,56 +306,48 @@
     
-List%3C
+GPTree
 Player
-%3E
  winner
-s
  = 
-tournament.runTournament(
+evolution.evolve(5
 );%0A%0A
@@ -431,16 +431,83 @@
 nner
-s.get(0)
+);%0A%0A        System.out.println(game.colourOfWinner() + %22 has won!%5Cn%22 + game
 );%0A 

Add first run tryouts