Check if an object is deep equal to another one
An ESLint Shareable Config that makes me happy
React hook to handle componentDidMount, and componentWillUnmount lifecycle events.
Texas Hold'em poker engine
Basic french deck of poker cards.
Evaluate poker hold'em hands
Sort poker hands by texas hold'em ranking
Produce all the 21 possible combinations of texas hold'em cards
A custom React hook to fire an event when user clicks outside the component.
A custom React hook to fire an event when user press one, or more specific keys.
A shortcut for React.useState<boolean>.
A React hook to generate a very-likely unique id, persistent across re-renders.
Determine the number of reinforcement armies for a given cards combination.
Determines which continents a player controls.
Computes the number of reinforces a player can have
Risk world information
Computes wins/loses of a risk dice match
Risk target cards
A React hook that offers a shortcut to toggle a boolean state.