Playing cards: Difference between revisions

→‎{{header|jq}}: round-robin
(→‎{{header|jq}}: round-robin)
Line 3,507:
 
=={{header|jq}}==
In the following, dealing of cards is accomplished in the conventional manner,
Neither the C nor the Go implementation of jq currently has a built-in
that is in a round-robin fashion whereby in each round, each player is dealt one card from the top of the deck in turn.
 
NeitherSince neither the C nor the Go implementation of jq currently has a built-in
PRNG,
so this program assumes an invocation such as:
<pre>
< /dev/urandom tr -cd '0-9' | fold -w 1 | $JQ -MRcnr -f playing-cards.jq
Line 3,611 ⟶ 3,614:
... leaving 32 cards
</pre>
 
 
=={{header|Julia}}==
2,479

edits