Uno (Card Game)/Python: Difference between revisions
m
PureFox moved page Uno(Card Game)/Python to Uno (Card Game)/Python: Subpage not linking back to parent due to mis-spelling.
m (display rows) |
m (PureFox moved page Uno(Card Game)/Python to Uno (Card Game)/Python: Subpage not linking back to parent due to mis-spelling.) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 3:
Uses the Tk library.
{{trans|Julia}}
<
from numpy.random import choice, rand, shuffle
Line 85:
shuffle(deck[28:])
hands = [deck[i:i+
self.drawpile = drawpile
Line 510:
app.setDaemon(True)
app.start()
top.mainloop()</syntaxhighlight>
|