Go Fish/Julia: Difference between revisions
Content added Content deleted
mNo edit summary |
m (Fixed syntax highlighting.) |
||
Line 1: | Line 1: | ||
< |
<syntaxhighlight lang="julia">import Base.show |
||
const sorteddeck = reshape([string(r == 'T' ? "10" : r) * s for r in "23456789TJQKA", s in "♣♦♥♠"], 52) |
const sorteddeck = reshape([string(r == 'T' ? "10" : r) * s for r in "23456789TJQKA", s in "♣♦♥♠"], 52) |
||
Line 189: | Line 189: | ||
end |
end |
||
gofish() |
gofish()</syntaxhighlight> |
||
</lang> |