public class computer
{
	public static int play(Applet1 game)
	{
		int whereDoIPlay=0;
		int times=0;
        //whereDoIPlay=(int)(Math.random()*9);
    	while(game.whatToken(whereDoIPlay)!=' ')
		{
			whereDoIPlay=(whereDoIPlay+1)%9;
			if(times++>9)break;
		}
		return whereDoIPlay;
	}
		
}
