UNPKG
@botpoker/hand
Version:
latest (1.0.0)
1.0.0
Evaluate poker hold'em hands
github.com/brunoscopelliti/poker-has
brunoscopelliti/poker-has
@botpoker/hand
/
lib
/
combinations
/
royal-staight-flush.js
14 lines
(10 loc)
•
257 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
"use strict"
;
const
strength =
require
(
"../domain/ranks"
);
const
royalStraightFlush
= (
cards
) => ({
name
:
"Royal flush"
,
kickers
: [],
rank
:
"A"
,
strength
: strength.
get
(
"royal-straight-flush"
), });
module
.
exports
= royalStraightFlush;