main
allocate
function allocate(hands, wagers, awarded = {}) { const [head, ...losers] = hands; const winners = ( Array.isArray(head) ? head