War card game: Difference between revisions

Content added Content deleted
(many fixes, added thundercat rule)
m (changed summary: it shuffles the picked up cards, it's NOT thundergnat (thundercat))
Line 133: Line 133:
=={{header|Applesoft BASIC}}==
=={{header|Applesoft BASIC}}==
{{trans|Python}}
{{trans|Python}}
The Bicycle rules are set up by default with the "thundercat" rule: see [[War_card_game#Raku|Raku]] for details. Other variations can be played by passing different parameters.
* The Bicycle rules are set up by default.
* When the winning player picks up his cards, the cards are randomized when added to the bottom of his deck. see [[War_card_game#Raku|Raku]] for details.
* Other variations can be played by passing different parameters.
<syntaxhighlight lang="autohotkey"> 100 R = RND (0): REM SEED
<syntaxhighlight lang="autohotkey"> 100 R = RND (0): REM SEED
110 W = 1: REM BICYCLE RULE: ONLY ONE EXTRA CARD GIVEN UP IN WAR
110 W = 1: REM BICYCLE RULE: ONLY ONE EXTRA CARD GIVEN UP IN WAR