<!doctype html>
<html class="default no-js">
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<title>&quot;logic/functions/cards&quot; | the-black-cat-server</title>
	<meta name="description" content="">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<link rel="stylesheet" href="../assets/css/main.css">
</head>
<body>
<header>
	<div class="tsd-page-toolbar">
		<div class="container">
			<div class="table-wrap">
				<div class="table-cell" id="tsd-search" data-index="../assets/js/search.js" data-base="..">
					<div class="field">
						<label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
						<input id="tsd-search-field" type="text" />
					</div>
					<ul class="results">
						<li class="state loading">Preparing search index...</li>
						<li class="state failure">The search index is not available</li>
					</ul>
					<a href="../index.html" class="title">the-black-cat-server</a>
				</div>
				<div class="table-cell" id="tsd-widgets">
					<div id="tsd-filter">
						<a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a>
						<div class="tsd-filter-group">
							<div class="tsd-select" id="tsd-filter-visibility">
								<span class="tsd-select-label">All</span>
								<ul class="tsd-select-list">
									<li data-value="public">Public</li>
									<li data-value="protected">Public/Protected</li>
									<li data-value="private" class="selected">All</li>
								</ul>
							</div>
							<input type="checkbox" id="tsd-filter-inherited" checked />
							<label class="tsd-widget" for="tsd-filter-inherited">Inherited</label>
							<input type="checkbox" id="tsd-filter-externals" checked />
							<label class="tsd-widget" for="tsd-filter-externals">Externals</label>
							<input type="checkbox" id="tsd-filter-only-exported" />
							<label class="tsd-widget" for="tsd-filter-only-exported">Only exported</label>
						</div>
					</div>
					<a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a>
				</div>
			</div>
		</div>
	</div>
	<div class="tsd-page-title">
		<div class="container">
			<ul class="tsd-breadcrumb">
				<li>
					<a href="../globals.html">Globals</a>
				</li>
				<li>
					<a href="_logic_functions_cards_.html">&quot;logic/functions/cards&quot;</a>
				</li>
			</ul>
			<h1>External module &quot;logic/functions/cards&quot;</h1>
		</div>
	</div>
</header>
<div class="container container-main">
	<div class="row">
		<div class="col-8 col-content">
			<section class="tsd-panel-group tsd-index-group">
				<h2>Index</h2>
				<section class="tsd-panel tsd-index-panel">
					<div class="tsd-index-content">
						<section class="tsd-index-section ">
							<h3>Functions</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-function tsd-parent-kind-external-module"><a href="_logic_functions_cards_.html#bestcardtoplay" class="tsd-kind-icon">best<wbr>Card<wbr>ToPlay</a></li>
								<li class="tsd-kind-function tsd-parent-kind-external-module"><a href="_logic_functions_cards_.html#cardequal" class="tsd-kind-icon">card<wbr>Equal</a></li>
								<li class="tsd-kind-function tsd-parent-kind-external-module"><a href="_logic_functions_cards_.html#cardisin" class="tsd-kind-icon">card<wbr>IsIn</a></li>
								<li class="tsd-kind-function tsd-parent-kind-external-module"><a href="_logic_functions_cards_.html#cardisnotin" class="tsd-kind-icon">card<wbr>IsNot<wbr>In</a></li>
								<li class="tsd-kind-function tsd-parent-kind-external-module"><a href="_logic_functions_cards_.html#cardisofsuit" class="tsd-kind-icon">card<wbr>IsOf<wbr>Suit</a></li>
								<li class="tsd-kind-function tsd-parent-kind-external-module"><a href="_logic_functions_cards_.html#cardnotequal" class="tsd-kind-icon">card<wbr>Not<wbr>Equal</a></li>
								<li class="tsd-kind-function tsd-parent-kind-external-module"><a href="_logic_functions_cards_.html#comparebyrank" class="tsd-kind-icon">compare<wbr>ByRank</a></li>
								<li class="tsd-kind-function tsd-parent-kind-external-module"><a href="_logic_functions_cards_.html#comparebysuit" class="tsd-kind-icon">compare<wbr>BySuit</a></li>
								<li class="tsd-kind-function tsd-parent-kind-external-module"><a href="_logic_functions_cards_.html#createdeck" class="tsd-kind-icon">create<wbr>Deck</a></li>
								<li class="tsd-kind-function tsd-parent-kind-external-module"><a href="_logic_functions_cards_.html#getcardpoints" class="tsd-kind-icon">get<wbr>Card<wbr>Points</a></li>
								<li class="tsd-kind-function tsd-parent-kind-external-module"><a href="_logic_functions_cards_.html#gethighestcardontable" class="tsd-kind-icon">get<wbr>Highest<wbr>Card<wbr>OnTable</a></li>
								<li class="tsd-kind-function tsd-parent-kind-external-module"><a href="_logic_functions_cards_.html#getpenaltypoints" class="tsd-kind-icon">get<wbr>Penalty<wbr>Points</a></li>
								<li class="tsd-kind-function tsd-parent-kind-external-module"><a href="_logic_functions_cards_.html#getplayerhand" class="tsd-kind-icon">get<wbr>Player<wbr>Hand</a></li>
								<li class="tsd-kind-function tsd-parent-kind-external-module"><a href="_logic_functions_cards_.html#getrankasnumber" class="tsd-kind-icon">get<wbr>Rank<wbr>AsNumber</a></li>
								<li class="tsd-kind-function tsd-parent-kind-external-module"><a href="_logic_functions_cards_.html#getsuitasnumber" class="tsd-kind-icon">get<wbr>Suit<wbr>AsNumber</a></li>
								<li class="tsd-kind-function tsd-parent-kind-external-module"><a href="_logic_functions_cards_.html#sortcardsbygreatestvalue" class="tsd-kind-icon">sort<wbr>Cards<wbr>ByGreatest<wbr>Value</a></li>
								<li class="tsd-kind-function tsd-parent-kind-external-module"><a href="_logic_functions_cards_.html#sortcardsbylowestvalue" class="tsd-kind-icon">sort<wbr>Cards<wbr>ByLowest<wbr>Value</a></li>
							</ul>
						</section>
					</div>
				</section>
			</section>
			<section class="tsd-panel-group tsd-member-group ">
				<h2>Functions</h2>
				<section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-external-module">
					<a name="bestcardtoplay" class="tsd-anchor"></a>
					<h3>best<wbr>Card<wbr>ToPlay</h3>
					<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-external-module">
						<li class="tsd-signature tsd-kind-icon">best<wbr>Card<wbr>ToPlay<span class="tsd-signature-symbol">(</span>hand<span class="tsd-signature-symbol">: </span><a href="_types_cards_.html#hand" class="tsd-signature-type">Hand</a>, grill<span class="tsd-signature-symbol">: </span><a href="_types_cards_.html#grills" class="tsd-signature-type">Grills</a>, table<span class="tsd-signature-symbol">: </span><a href="_types_cards_.html#table" class="tsd-signature-type">Table</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/_types_cards_.card.html" class="tsd-signature-type">Card</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/ErikCupal/the-black-cat-server/blob/45229b3/src/logic/functions/cards.ts#L165">logic/functions/cards.ts:165</a></li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>hand: <a href="_types_cards_.html#hand" class="tsd-signature-type">Hand</a></h5>
								</li>
								<li>
									<h5>grill: <a href="_types_cards_.html#grills" class="tsd-signature-type">Grills</a></h5>
								</li>
								<li>
									<h5>table: <a href="_types_cards_.html#table" class="tsd-signature-type">Table</a></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="../interfaces/_types_cards_.card.html" class="tsd-signature-type">Card</a></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-external-module">
					<a name="cardequal" class="tsd-anchor"></a>
					<h3>card<wbr>Equal</h3>
					<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-external-module">
						<li class="tsd-signature tsd-kind-icon">card<wbr>Equal<span class="tsd-signature-symbol">(</span>a<span class="tsd-signature-symbol">: </span><a href="../interfaces/_types_cards_.card.html" class="tsd-signature-type">Card</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">(Anonymous function)</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/ErikCupal/the-black-cat-server/blob/45229b3/src/logic/functions/cards.ts#L5">logic/functions/cards.ts:5</a></li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>a: <a href="../interfaces/_types_cards_.card.html" class="tsd-signature-type">Card</a></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">(Anonymous function)</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-external-module">
					<a name="cardisin" class="tsd-anchor"></a>
					<h3>card<wbr>IsIn</h3>
					<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-external-module">
						<li class="tsd-signature tsd-kind-icon">card<wbr>IsIn<span class="tsd-signature-symbol">(</span>container<span class="tsd-signature-symbol">: </span><a href="../interfaces/_types_cards_.card.html" class="tsd-signature-type">Card</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">(Anonymous function)</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/ErikCupal/the-black-cat-server/blob/45229b3/src/logic/functions/cards.ts#L13">logic/functions/cards.ts:13</a></li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>container: <a href="../interfaces/_types_cards_.card.html" class="tsd-signature-type">Card</a><span class="tsd-signature-symbol">[]</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">(Anonymous function)</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-external-module">
					<a name="cardisnotin" class="tsd-anchor"></a>
					<h3>card<wbr>IsNot<wbr>In</h3>
					<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-external-module">
						<li class="tsd-signature tsd-kind-icon">card<wbr>IsNot<wbr>In<span class="tsd-signature-symbol">(</span>container<span class="tsd-signature-symbol">: </span><a href="../interfaces/_types_cards_.card.html" class="tsd-signature-type">Card</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">(Anonymous function)</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/ErikCupal/the-black-cat-server/blob/45229b3/src/logic/functions/cards.ts#L18">logic/functions/cards.ts:18</a></li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>container: <a href="../interfaces/_types_cards_.card.html" class="tsd-signature-type">Card</a><span class="tsd-signature-symbol">[]</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">(Anonymous function)</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-external-module">
					<a name="cardisofsuit" class="tsd-anchor"></a>
					<h3>card<wbr>IsOf<wbr>Suit</h3>
					<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-external-module">
						<li class="tsd-signature tsd-kind-icon">card<wbr>IsOf<wbr>Suit<span class="tsd-signature-symbol">(</span>suit<span class="tsd-signature-symbol">: </span><a href="_types_cards_.html#suit" class="tsd-signature-type">Suit</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">(Anonymous function)</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/ErikCupal/the-black-cat-server/blob/45229b3/src/logic/functions/cards.ts#L22">logic/functions/cards.ts:22</a></li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>suit: <a href="_types_cards_.html#suit" class="tsd-signature-type">Suit</a></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">(Anonymous function)</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-external-module">
					<a name="cardnotequal" class="tsd-anchor"></a>
					<h3>card<wbr>Not<wbr>Equal</h3>
					<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-external-module">
						<li class="tsd-signature tsd-kind-icon">card<wbr>Not<wbr>Equal<span class="tsd-signature-symbol">(</span>a<span class="tsd-signature-symbol">: </span><a href="../interfaces/_types_cards_.card.html" class="tsd-signature-type">Card</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">(Anonymous function)</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/ErikCupal/the-black-cat-server/blob/45229b3/src/logic/functions/cards.ts#L9">logic/functions/cards.ts:9</a></li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>a: <a href="../interfaces/_types_cards_.card.html" class="tsd-signature-type">Card</a></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">(Anonymous function)</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-external-module">
					<a name="comparebyrank" class="tsd-anchor"></a>
					<h3>compare<wbr>ByRank</h3>
					<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-external-module">
						<li class="tsd-signature tsd-kind-icon">compare<wbr>ByRank<span class="tsd-signature-symbol">(</span>a<span class="tsd-signature-symbol">: </span><a href="../interfaces/_types_cards_.card.html" class="tsd-signature-type">Card</a>, b<span class="tsd-signature-symbol">: </span><a href="../interfaces/_types_cards_.card.html" class="tsd-signature-type">Card</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">-1</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">0</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">1</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/ErikCupal/the-black-cat-server/blob/45229b3/src/logic/functions/cards.ts#L48">logic/functions/cards.ts:48</a></li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>a: <a href="../interfaces/_types_cards_.card.html" class="tsd-signature-type">Card</a></h5>
								</li>
								<li>
									<h5>b: <a href="../interfaces/_types_cards_.card.html" class="tsd-signature-type">Card</a></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">-1</span>
								<span class="tsd-signature-symbol"> | </span>
								<span class="tsd-signature-type">0</span>
								<span class="tsd-signature-symbol"> | </span>
								<span class="tsd-signature-type">1</span>
							</h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-external-module">
					<a name="comparebysuit" class="tsd-anchor"></a>
					<h3>compare<wbr>BySuit</h3>
					<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-external-module">
						<li class="tsd-signature tsd-kind-icon">compare<wbr>BySuit<span class="tsd-signature-symbol">(</span>a<span class="tsd-signature-symbol">: </span><a href="../interfaces/_types_cards_.card.html" class="tsd-signature-type">Card</a>, b<span class="tsd-signature-symbol">: </span><a href="../interfaces/_types_cards_.card.html" class="tsd-signature-type">Card</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">-1</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">0</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">1</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/ErikCupal/the-black-cat-server/blob/45229b3/src/logic/functions/cards.ts#L56">logic/functions/cards.ts:56</a></li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>a: <a href="../interfaces/_types_cards_.card.html" class="tsd-signature-type">Card</a></h5>
								</li>
								<li>
									<h5>b: <a href="../interfaces/_types_cards_.card.html" class="tsd-signature-type">Card</a></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">-1</span>
								<span class="tsd-signature-symbol"> | </span>
								<span class="tsd-signature-type">0</span>
								<span class="tsd-signature-symbol"> | </span>
								<span class="tsd-signature-type">1</span>
							</h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-external-module">
					<a name="createdeck" class="tsd-anchor"></a>
					<h3>create<wbr>Deck</h3>
					<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-external-module">
						<li class="tsd-signature tsd-kind-icon">create<wbr>Deck<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_types_cards_.html#deck" class="tsd-signature-type">Deck</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/ErikCupal/the-black-cat-server/blob/45229b3/src/logic/functions/cards.ts#L124">logic/functions/cards.ts:124</a></li>
								</ul>
							</aside>
							<h4 class="tsd-returns-title">Returns <a href="_types_cards_.html#deck" class="tsd-signature-type">Deck</a></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-external-module">
					<a name="getcardpoints" class="tsd-anchor"></a>
					<h3>get<wbr>Card<wbr>Points</h3>
					<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-external-module">
						<li class="tsd-signature tsd-kind-icon">get<wbr>Card<wbr>Points<span class="tsd-signature-symbol">(</span>heartsGrillCoeficient<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, blackCatGrilled<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">(Anonymous function)</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/ErikCupal/the-black-cat-server/blob/45229b3/src/logic/functions/cards.ts#L74">logic/functions/cards.ts:74</a></li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>heartsGrillCoeficient: <span class="tsd-signature-type">number</span></h5>
								</li>
								<li>
									<h5>blackCatGrilled: <span class="tsd-signature-type">boolean</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">(Anonymous function)</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-external-module">
					<a name="gethighestcardontable" class="tsd-anchor"></a>
					<h3>get<wbr>Highest<wbr>Card<wbr>OnTable</h3>
					<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-external-module">
						<li class="tsd-signature tsd-kind-icon">get<wbr>Highest<wbr>Card<wbr>OnTable<span class="tsd-signature-symbol">(</span>table<span class="tsd-signature-symbol">: </span><a href="_types_cards_.html#table" class="tsd-signature-type">Table</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/_types_cards_.card.html" class="tsd-signature-type">Card</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/ErikCupal/the-black-cat-server/blob/45229b3/src/logic/functions/cards.ts#L156">logic/functions/cards.ts:156</a></li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>table: <a href="_types_cards_.html#table" class="tsd-signature-type">Table</a></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="../interfaces/_types_cards_.card.html" class="tsd-signature-type">Card</a></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-external-module">
					<a name="getpenaltypoints" class="tsd-anchor"></a>
					<h3>get<wbr>Penalty<wbr>Points</h3>
					<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-external-module">
						<li class="tsd-signature tsd-kind-icon">get<wbr>Penalty<wbr>Points<span class="tsd-signature-symbol">(</span>grilledCards<span class="tsd-signature-symbol">: </span><a href="_types_cards_.html#grills" class="tsd-signature-type">Grills</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">(Anonymous function)</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/ErikCupal/the-black-cat-server/blob/45229b3/src/logic/functions/cards.ts#L102">logic/functions/cards.ts:102</a></li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>grilledCards: <a href="_types_cards_.html#grills" class="tsd-signature-type">Grills</a></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">(Anonymous function)</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-external-module">
					<a name="getplayerhand" class="tsd-anchor"></a>
					<h3>get<wbr>Player<wbr>Hand</h3>
					<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-external-module">
						<li class="tsd-signature tsd-kind-icon">get<wbr>Player<wbr>Hand<span class="tsd-signature-symbol">(</span>deck<span class="tsd-signature-symbol">: </span><a href="_types_cards_.html#deck" class="tsd-signature-type">Deck</a>, playerIndex<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_types_cards_.html#hand" class="tsd-signature-type">Hand</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/ErikCupal/the-black-cat-server/blob/45229b3/src/logic/functions/cards.ts#L145">logic/functions/cards.ts:145</a></li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>deck: <a href="_types_cards_.html#deck" class="tsd-signature-type">Deck</a></h5>
								</li>
								<li>
									<h5>playerIndex: <span class="tsd-signature-type">number</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="_types_cards_.html#hand" class="tsd-signature-type">Hand</a></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-external-module">
					<a name="getrankasnumber" class="tsd-anchor"></a>
					<h3>get<wbr>Rank<wbr>AsNumber</h3>
					<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-external-module">
						<li class="tsd-signature tsd-kind-icon">get<wbr>Rank<wbr>AsNumber<span class="tsd-signature-symbol">(</span>rank<span class="tsd-signature-symbol">: </span><a href="_types_cards_.html#rank" class="tsd-signature-type">Rank</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/ErikCupal/the-black-cat-server/blob/45229b3/src/logic/functions/cards.ts#L26">logic/functions/cards.ts:26</a></li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>rank: <a href="_types_cards_.html#rank" class="tsd-signature-type">Rank</a></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-external-module">
					<a name="getsuitasnumber" class="tsd-anchor"></a>
					<h3>get<wbr>Suit<wbr>AsNumber</h3>
					<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-external-module">
						<li class="tsd-signature tsd-kind-icon">get<wbr>Suit<wbr>AsNumber<span class="tsd-signature-symbol">(</span>suit<span class="tsd-signature-symbol">: </span><a href="_types_cards_.html#suit" class="tsd-signature-type">Suit</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/ErikCupal/the-black-cat-server/blob/45229b3/src/logic/functions/cards.ts#L39">logic/functions/cards.ts:39</a></li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>suit: <a href="_types_cards_.html#suit" class="tsd-signature-type">Suit</a></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-external-module">
					<a name="sortcardsbygreatestvalue" class="tsd-anchor"></a>
					<h3>sort<wbr>Cards<wbr>ByGreatest<wbr>Value</h3>
					<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-external-module">
						<li class="tsd-signature tsd-kind-icon">sort<wbr>Cards<wbr>ByGreatest<wbr>Value<span class="tsd-signature-symbol">(</span>cards<span class="tsd-signature-symbol">: </span><a href="../interfaces/_types_cards_.card.html" class="tsd-signature-type">Card</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/_types_cards_.card.html" class="tsd-signature-type">Card</a><span class="tsd-signature-symbol">[]</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/ErikCupal/the-black-cat-server/blob/45229b3/src/logic/functions/cards.ts#L70">logic/functions/cards.ts:70</a></li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>cards: <a href="../interfaces/_types_cards_.card.html" class="tsd-signature-type">Card</a><span class="tsd-signature-symbol">[]</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="../interfaces/_types_cards_.card.html" class="tsd-signature-type">Card</a><span class="tsd-signature-symbol">[]</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-external-module">
					<a name="sortcardsbylowestvalue" class="tsd-anchor"></a>
					<h3>sort<wbr>Cards<wbr>ByLowest<wbr>Value</h3>
					<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-external-module">
						<li class="tsd-signature tsd-kind-icon">sort<wbr>Cards<wbr>ByLowest<wbr>Value<span class="tsd-signature-symbol">(</span>cards<span class="tsd-signature-symbol">: </span><a href="../interfaces/_types_cards_.card.html" class="tsd-signature-type">Card</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/_types_cards_.card.html" class="tsd-signature-type">Card</a><span class="tsd-signature-symbol">[]</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/ErikCupal/the-black-cat-server/blob/45229b3/src/logic/functions/cards.ts#L64">logic/functions/cards.ts:64</a></li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>cards: <a href="../interfaces/_types_cards_.card.html" class="tsd-signature-type">Card</a><span class="tsd-signature-symbol">[]</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="../interfaces/_types_cards_.card.html" class="tsd-signature-type">Card</a><span class="tsd-signature-symbol">[]</span></h4>
						</li>
					</ul>
				</section>
			</section>
		</div>
		<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
			<nav class="tsd-navigation primary">
				<ul>
					<li class="globals  ">
						<a href="../globals.html"><em>Globals</em></a>
					</li>
					<li class="current tsd-kind-external-module">
						<a href="_logic_functions_cards_.html">"logic/functions/cards"</a>
					</li>
				</ul>
			</nav>
			<nav class="tsd-navigation secondary menu-sticky">
				<ul class="before-current">
					<li class=" tsd-kind-function tsd-parent-kind-external-module">
						<a href="_logic_functions_cards_.html#bestcardtoplay" class="tsd-kind-icon">best<wbr>Card<wbr>ToPlay</a>
					</li>
					<li class=" tsd-kind-function tsd-parent-kind-external-module">
						<a href="_logic_functions_cards_.html#cardequal" class="tsd-kind-icon">card<wbr>Equal</a>
					</li>
					<li class=" tsd-kind-function tsd-parent-kind-external-module">
						<a href="_logic_functions_cards_.html#cardisin" class="tsd-kind-icon">card<wbr>IsIn</a>
					</li>
					<li class=" tsd-kind-function tsd-parent-kind-external-module">
						<a href="_logic_functions_cards_.html#cardisnotin" class="tsd-kind-icon">card<wbr>IsNot<wbr>In</a>
					</li>
					<li class=" tsd-kind-function tsd-parent-kind-external-module">
						<a href="_logic_functions_cards_.html#cardisofsuit" class="tsd-kind-icon">card<wbr>IsOf<wbr>Suit</a>
					</li>
					<li class=" tsd-kind-function tsd-parent-kind-external-module">
						<a href="_logic_functions_cards_.html#cardnotequal" class="tsd-kind-icon">card<wbr>Not<wbr>Equal</a>
					</li>
					<li class=" tsd-kind-function tsd-parent-kind-external-module">
						<a href="_logic_functions_cards_.html#comparebyrank" class="tsd-kind-icon">compare<wbr>ByRank</a>
					</li>
					<li class=" tsd-kind-function tsd-parent-kind-external-module">
						<a href="_logic_functions_cards_.html#comparebysuit" class="tsd-kind-icon">compare<wbr>BySuit</a>
					</li>
					<li class=" tsd-kind-function tsd-parent-kind-external-module">
						<a href="_logic_functions_cards_.html#createdeck" class="tsd-kind-icon">create<wbr>Deck</a>
					</li>
					<li class=" tsd-kind-function tsd-parent-kind-external-module">
						<a href="_logic_functions_cards_.html#getcardpoints" class="tsd-kind-icon">get<wbr>Card<wbr>Points</a>
					</li>
					<li class=" tsd-kind-function tsd-parent-kind-external-module">
						<a href="_logic_functions_cards_.html#gethighestcardontable" class="tsd-kind-icon">get<wbr>Highest<wbr>Card<wbr>OnTable</a>
					</li>
					<li class=" tsd-kind-function tsd-parent-kind-external-module">
						<a href="_logic_functions_cards_.html#getpenaltypoints" class="tsd-kind-icon">get<wbr>Penalty<wbr>Points</a>
					</li>
					<li class=" tsd-kind-function tsd-parent-kind-external-module">
						<a href="_logic_functions_cards_.html#getplayerhand" class="tsd-kind-icon">get<wbr>Player<wbr>Hand</a>
					</li>
					<li class=" tsd-kind-function tsd-parent-kind-external-module">
						<a href="_logic_functions_cards_.html#getrankasnumber" class="tsd-kind-icon">get<wbr>Rank<wbr>AsNumber</a>
					</li>
					<li class=" tsd-kind-function tsd-parent-kind-external-module">
						<a href="_logic_functions_cards_.html#getsuitasnumber" class="tsd-kind-icon">get<wbr>Suit<wbr>AsNumber</a>
					</li>
					<li class=" tsd-kind-function tsd-parent-kind-external-module">
						<a href="_logic_functions_cards_.html#sortcardsbygreatestvalue" class="tsd-kind-icon">sort<wbr>Cards<wbr>ByGreatest<wbr>Value</a>
					</li>
					<li class=" tsd-kind-function tsd-parent-kind-external-module">
						<a href="_logic_functions_cards_.html#sortcardsbylowestvalue" class="tsd-kind-icon">sort<wbr>Cards<wbr>ByLowest<wbr>Value</a>
					</li>
				</ul>
			</nav>
		</div>
	</div>
</div>
<footer class="with-border-bottom">
	<div class="container">
		<h2>Legend</h2>
		<div class="tsd-legend-group">
			<ul class="tsd-legend">
				<li class="tsd-kind-module"><span class="tsd-kind-icon">Module</span></li>
				<li class="tsd-kind-object-literal"><span class="tsd-kind-icon">Object literal</span></li>
				<li class="tsd-kind-variable"><span class="tsd-kind-icon">Variable</span></li>
				<li class="tsd-kind-function"><span class="tsd-kind-icon">Function</span></li>
				<li class="tsd-kind-function tsd-has-type-parameter"><span class="tsd-kind-icon">Function with type parameter</span></li>
				<li class="tsd-kind-index-signature"><span class="tsd-kind-icon">Index signature</span></li>
				<li class="tsd-kind-type-alias"><span class="tsd-kind-icon">Type alias</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-enum"><span class="tsd-kind-icon">Enumeration</span></li>
				<li class="tsd-kind-enum-member"><span class="tsd-kind-icon">Enumeration member</span></li>
				<li class="tsd-kind-property tsd-parent-kind-enum"><span class="tsd-kind-icon">Property</span></li>
				<li class="tsd-kind-method tsd-parent-kind-enum"><span class="tsd-kind-icon">Method</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-interface"><span class="tsd-kind-icon">Interface</span></li>
				<li class="tsd-kind-interface tsd-has-type-parameter"><span class="tsd-kind-icon">Interface with type parameter</span></li>
				<li class="tsd-kind-constructor tsd-parent-kind-interface"><span class="tsd-kind-icon">Constructor</span></li>
				<li class="tsd-kind-property tsd-parent-kind-interface"><span class="tsd-kind-icon">Property</span></li>
				<li class="tsd-kind-method tsd-parent-kind-interface"><span class="tsd-kind-icon">Method</span></li>
				<li class="tsd-kind-index-signature tsd-parent-kind-interface"><span class="tsd-kind-icon">Index signature</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li>
				<li class="tsd-kind-class tsd-has-type-parameter"><span class="tsd-kind-icon">Class with type parameter</span></li>
				<li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li>
				<li class="tsd-kind-property tsd-parent-kind-class"><span class="tsd-kind-icon">Property</span></li>
				<li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li>
				<li class="tsd-kind-accessor tsd-parent-kind-class"><span class="tsd-kind-icon">Accessor</span></li>
				<li class="tsd-kind-index-signature tsd-parent-kind-class"><span class="tsd-kind-icon">Index signature</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited constructor</span></li>
				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited property</span></li>
				<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited method</span></li>
				<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited accessor</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected property</span></li>
				<li class="tsd-kind-method tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected method</span></li>
				<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected accessor</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private property</span></li>
				<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private method</span></li>
				<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private accessor</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static property</span></li>
				<li class="tsd-kind-call-signature tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static method</span></li>
			</ul>
		</div>
	</div>
</footer>
<div class="container tsd-generator">
	<p>Generated using <a href="http://typedoc.org/" target="_blank">TypeDoc</a></p>
</div>
<div class="overlay"></div>
<script src="../assets/js/main.js"></script>
<script>if (location.protocol == 'file:') document.write('<script src="../assets/js/search.js"><' + '/script>');</script>
</body>
</html>