Jump to content

Playing cards: Difference between revisions

(Dealing works now)
Line 1,555:
-- 0 cards remaining
</pre>
 
===Output===
<lang vb>>cscript "C:\foo\cards.vbs"
-- before shuffling
ace of hearts , two of hearts , three of hearts , four of hearts
five of hearts , six of hearts , seven of hearts , eight of hearts
nine of hearts , ten of hearts , jack of hearts , queen of hearts
king of hearts , ace of diamonds , two of diamonds , three of diamonds
four of diamonds , five of diamonds , six of diamonds , seven of diamonds
eight of diamonds , nine of diamonds , ten of diamonds , jack of diamonds
queen of diamonds , king of diamonds , ace of clubs , two of clubs
three of clubs , four of clubs , five of clubs , six of clubs
seven of clubs , eight of clubs , nine of clubs , ten of clubs
jack of clubs , queen of clubs , king of clubs , ace of spades
two of spades , three of spades , four of spades , five of spades
six of spades , seven of spades , eight of spades , nine of spades
ten of spades , jack of spades , queen of spades , king of spades
-- after shuffling
two of clubs , ace of diamonds , jack of hearts , king of clubs
six of spades , six of clubs , five of spades , seven of diamonds
eight of clubs , ace of spades , four of clubs , ten of clubs
king of diamonds , four of hearts , ace of hearts , two of hearts
nine of spades , eight of hearts , three of clubs , three of diamonds
seven of hearts , four of spades , jack of diamonds , ten of hearts
queen of clubs , king of spades , three of spades , five of hearts
king of hearts , queen of spades , two of diamonds , four of diamonds
nine of clubs , ten of spades , two of spades , seven of clubs
jack of spades , three of hearts , five of diamonds , ace of clubs
eight of diamonds , queen of hearts , ten of diamonds , six of hearts
nine of diamonds , nine of hearts , six of diamonds , jack of clubs
queen of diamonds , seven of spades , eight of spades , five of clubs
>Exit code: 0
</lang>
 
=={{header|Vedit macro language}}==
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.