package checkers.logic.main;

import java.util.Scanner;

public class Player {

	public static void main(String[] args) {
		consolePlayer();
	}
	
	private static void consolePlayer(){
		CheckersGame g = new CheckersGame();
		Scanner in = new Scanner(System.in);
		int x;
		int y;
		while(!g.gameOver()){
			//g.testPrint();
			System.out.println(g.getBoardStateString());
			x = in.nextInt();
			y = in.nextInt();
			g.act(Util.coord(x, y));
		}
	}
}
