Log inGet started
World

Game Night: Cards, Dice and Board Games Kit

Branchmain
Branchesmain
Commit0cb8462300

README.md

cardsKit.shuffle

A fair, repeatable shuffle: Fisher-Yates over the engine's Random (xoshiro128** computed with bit32), so the same seed gives the same order on every screen, platform and computer, and every order is equally likely. Shuffle.shuffle(list, seed), Shuffle.shuffleInPlace(list, rng), Shuffle.order(n, seed), Shuffle.rng(seed) (numbers or strings) and Shuffle.hash(string). Used by the game model for every shuffle and deal.