Spaces:
Paused
Paused
Commit
·
9f5394d
1
Parent(s):
c348666
Update app.py
Browse files
app.py
CHANGED
|
@@ -3,7 +3,7 @@ import backgammon
|
|
| 3 |
|
| 4 |
def greet(GNUID):
|
| 5 |
b = backgammon.Backgammon(GNUID, "cInpAAAAAAAA")
|
| 6 |
-
|
| 7 |
return play.moves
|
| 8 |
|
| 9 |
|
|
|
|
| 3 |
|
| 4 |
def greet(GNUID):
|
| 5 |
b = backgammon.Backgammon(GNUID, "cInpAAAAAAAA")
|
| 6 |
+
for play in b.generate_plays():
|
| 7 |
return play.moves
|
| 8 |
|
| 9 |
|