Public feed #528334

Something

public text v1 · immutable
Raw Edit
·published 2007-06-01 14:47 UTC
rendered paste body
public class Tester
{
  /**
   * This class is designed to test and to debug Game
   */
  public static void main()
  {
    Game g = new Game();
    System.out.println("New board created: ");
    g.printBoard();
    System.out.println("Player one moves to location (2,1)");
    g.makeMove(1,2,1);
    g.printBoard();
    System.out.println("Player two moves to location (1,2)");
    g.makeMove(2,1,2);
    g.printBoard();
    System.out.println("Player one moves to location (0,3)");
    g.makeMove(1,0,3);
    g.printBoard();
    System.out.println("The result: ");
    g.printBoard();
  }
  
}