5556575859606162636465
table.addPlayer(new Player(1000)); table.addPlayer(new Player(1000)); table.addPlayer(new Player(1000)); table.addPlayer(new Player(1000)); for (int i = 0; i < 10; i++) { table.play(); } } private static void initPopulation(GeneticAlgorithm ga)
3940414243444546474849
Table table = new Table(1, new Dealer()); table.addPlayer(player); for(int rounds = 0; rounds< 100; rounds++ ) { table.play(); } return player.getMoney(); }