@Override
	public void run() {
		ai		= MachinePlayerFactory.getInstance(level);
		ai.init(new StandardBoardImpl());
		//the AI is always 1
		ai.setColor(AICOLOR);
		Random r = new Random();
		if (r.nextBoolean()) {
			color = 1;
		} else { 
			color = 2;
		}
		if (color == 1)
			play();
		else 
			ui.play(color);
	}