public class TestIntOrder { public static void main(String[] args){ int turn=2; OrderOfMoves orderOfMoves=new OrderOfMoves(); for(int i=0;i<20;i++){ turn=3-turn; Move move=new Move(turn,19-i,i); orderOfMoves.add(move); } IntOrder intOrder=new IntOrder(); String[] sgfMoves=intOrder.translateIntToSgf(orderOfMoves); for(int i=0;i<sgfMoves.length;i++){ System.out.println(i + " " + sgfMoves[i]); } } }