War card game: Difference between revisions

m
Testing whether unicode characters are displayed correctly.
m (syntax highlighting fixup automation)
m (Testing whether unicode characters are displayed correctly.)
Line 482:
 
Player 1 wins after 86 turns</syntaxhighlight>
 
=={{header|Java}}==
 
<syntaxhighlight lang="java">
 
</syntaxhighlight>
{{ out }}
<pre>
A? 8? Player A takes the cards
2? Q? Player B takes the cards
A? 3? Player A takes the cards
5? J? Player B takes the cards
K? 2? Player A takes the cards
2? Q? Player B takes the cards
</pre>
 
=={{header|Julia}}==
871

edits