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

3 pointsposted 9 hours ago
by hauxir

2 Comments

LevkaDev

8 hours 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

8 hours 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.