War card game: Difference between revisions
m
→{{header|Wren}}: Minor tidy
imported>Person McGuy m (Added srand((unsigned) time(NULL)); to int main, without it game was always the same.) |
m (→{{header|Wren}}: Minor tidy) |
||
Line 1,785:
I've also assumed that if a player wins a round, his/her own cards (in the order played) are added back to the bottom of his/her hand before the other player's cards.
<syntaxhighlight lang="
import "./queue" for Deque
var rand = Random.new()
|