Card shuffles: Difference between revisions
→{{header|Wren}}: Updated to use new core library method.
m (→{{header|Phix}}: added syntax colouring the hard way) |
(→{{header|Wren}}: Updated to use new core library method.) |
||
Line 2,438:
for (i in 0...iterations) {
while (pile.count > 0) {
var cards =
pile2 = pile[0...cards] + pile2
pile = pile[cards..-1]
|