public void tenpai(String[] ten)
	{
		finalizeriichi(null);
		Player[] tenpai =new Player[ten.length];
		boolean move = true;
		for(int i=0;i < ten.length;i++)
		{
			tenpai[i]=players[position(ten[i])];
			if(tenpai[i]==players[dealer])
				move=false;
		}
		if(tenpai.length==1)
		{
			take(tenpai[0], players[0], 1000);
			take(tenpai[0], players[1], 1000);
			take(tenpai[0], players[2], 1000);
		}
		else if(tenpai.length==2)
		{
			Player loser;
			if(players[0]!=tenpai[0] &&players[0] !=tenpai[1])
				loser=players[0];
			else if(players[1]!=tenpai[0] &&players[1] !=tenpai[1])
				loser=players[1];
			else
				loser=players[2];
			take(tenpai[0],loser,1000);
			take(tenpai[1],loser,1000);
		}
		if(move)
			nexthand();
		bonus++;
		update();
		printnextround();
	}