texas.js
function (cards) {
		var res = deckSize + 1;
		for (var c = 0; c < cards.length; c++)
			res = evaluator[res + getCode(cards[c])];
		if (cards.length < 7)
			res = evaluator[res];
		return {name: hands[res >> 12], value: res};
	}
function (cards) {
		var res = deckSize + 1;
		for (var c = 0; c < cards.length; c++)
			res = evaluator[res + getCode(cards[c])];
		if (cards.length < 7)
			res = evaluator[res];
		return {name: hands[res >> 12], value: res};
	}
function ( cards ) { var res = deckSize + 1 ; for ( var c = 0 ; c < cards . length ; c ++ ) res = evaluator [ res + getCode ( cards [ c ] ) ] ; if ( cards . length < 7 ) res = evaluator [ res ] ; return { name : hands [ res >> 12 ] , value : res } ; }
Evaluates the 5 to 7 card hands.
Evaluates the 5 to 7 card hands .