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

3 pointsposted 21 days ago
by hauxir

2 Comments

LevkaDev

21 days 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

21 days 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.