package swt.tdd.tictactoe;

public interface TicTacToe {

	public enum Tile {
		CROSS, CIRCLE, NONE
	}

	/**
	 * @param board Tic-Tac-Toe board as 3x3 tiles
	 * @return the winner of the given board or none if the game is not finished
	 * @throws IllegalArgumentException if the board does not have 3x3 tiles or multiple winners
	 */
	public Tile isWinner(Tile[][] board) throws IllegalArgumentException;

}
