top | item 46660343

Show HN: Play poker with friends in the browser – with built-in video chat

3 points| hauxir | 1 month ago |kosmi.io

2 comments

order

LevkaDev|1 month ago

Nice project. Quick technical question: how are cards shuffled and dealt?

Is the RNG fully server-side, and what source are you using (e.g. crypto-secure PRNG)? Also curious whether the shuffle is deterministic per hand or purely random each time.

hauxir|1 month ago

RNG is fully server-side (Elixir). Uses Enum.shuffle/1 (Fisher-Yates) seeded from OS entropy. Fresh shuffle each hand, not deterministic. Frontend only receives dealt cards, no deck access.