private void checkRanks(List<Player> plyr,Table tbl,Dealer dlr){
		int rank=0;
		int maxrank=0;
		Rank rnk=new Rank();
		for (Player player : plyr) {
			InputHelper.getInput('\n'+"want to go to next player to check rank");
			if(player.isFold()){
				player.setRankOfHand(0);
			}else{
				rank=rnk.chkRank(tbl.getCrdOnTbl(), player);
				System.out.println("the rank is :::::::::::::::::::"+rank);
				player.setRankOfHand(rank);
				if(rank>maxrank){
					maxrank=rank;
				}
			}
		}
		for (Player player : plyr) {
			System.out.println(player.getName());
			System.out.println("has ran of hand of :"+player.getRankOfHand());
		}
		System.out.println("maximum rank is ="+maxrank);
	}