Go Fish/Aime: Difference between revisions

m
Fixed syntax highlighting.
No edit summary
m (Fixed syntax highlighting.)
 
Line 1:
{{collection|Go Fish}}
The AI will randomly ask a rank known to be in the human's hand (a card in the AI's hand that the human has asked for before and the AI hasn't asked for before). If there are no known ranks, the AI will ask for the lowest rank it has (the strategy has the virtue of not giving away the player's hand).
<langsyntaxhighlight lang="aime">void
shuffle(list l)
{
Line 230:
return 0;
}
</syntaxhighlight>
</lang>
9,476

edits