serialized += rank.name();
}
}
if (state.getProcess() == 2) {
Choose choose = state.getPlayers().get(0).getChoose();
serialized += "_" + choose.name();
}
if (state.getProcess() == 3) {
Choose choose1 = state.getPlayers().get(0).getChoose();
serialized += "_" + choose1.name() + "_";
Choose choose2 = state.getPlayers().get(1).getChoose();
serialized += choose2.name();
}
if (state.getProcess() == 4) {
Choose choose1 = state.getPlayers().get(0).getChoose();
serialized += "_" + choose1.name() + "_";
Choose choose2 = state.getPlayers().get(1).getChoose();
serialized += choose2.name() + "_";
Decision decision1 = state.getPlayers().get(0).getDecision();
serialized += decision1.name()+ "_";
serialized += state.getPlayers().get(0).getResult();
}
if (state.getProcess() == 5) {
Choose choose1 = state.getPlayers().get(0).getChoose();
serialized += "_" + choose1.name() + "_";
Choose choose2 = state.getPlayers().get(1).getChoose();
serialized += choose2.name() + "_";
Decision decision1 = state.getPlayers().get(0).getDecision();
serialized += decision1.name() + "_";
serialized += state.getPlayers().get(0).getResult() +"_";
Decision decision2 = state.getPlayers().get(1).getDecision();
serialized += decision2.name() + "_";