Go Fish/PureBasic: Difference between revisions
Content added Content deleted
mNo edit summary |
m (Fixed syntax highlighting.) |
||
Line 1: | Line 1: | ||
{{collection|Go Fish}} |
{{collection|Go Fish}} |
||
If 'computer' is entered for the player's name, it will play itself. |
If 'computer' is entered for the player's name, it will play itself. |
||
< |
<syntaxhighlight lang="purebasic">#MaxCards = 52 ;Max #of cards possible in a card collection |
||
#ShortCardRanks$ = "2;3;4;5;6;7;8;9;10;J;Q;K;A" |
#ShortCardRanks$ = "2;3;4;5;6;7;8;9;10;J;Q;K;A" |
||
#LongCardRanks$ = "deuce;three;four;five;six;seven;eight;nine;ten;jack;queen;king;ace" |
#LongCardRanks$ = "deuce;three;four;five;six;seven;eight;nine;ten;jack;queen;king;ace" |
||
Line 704: | Line 704: | ||
PrintN(#CRLF$ + "Press Enter to exit.") |
PrintN(#CRLF$ + "Press Enter to exit.") |
||
Input()</ |
Input()</syntaxhighlight> |