Spaces:
Paused
Paused
Commit
·
4ad1b98
1
Parent(s):
ac1d0df
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,7 +4,8 @@ import backgammon
|
|
| 4 |
def greet(GNUID):
|
| 5 |
b = backgammon.Backgammon(GNUID, "cInpAAAAAAAA")
|
| 6 |
for play in b.generate_plays():
|
| 7 |
-
|
|
|
|
| 8 |
|
| 9 |
|
| 10 |
demo = gr.Interface(fn=greet, inputs="text", outputs="text")
|
|
|
|
| 4 |
def greet(GNUID):
|
| 5 |
b = backgammon.Backgammon(GNUID, "cInpAAAAAAAA")
|
| 6 |
for play in b.generate_plays():
|
| 7 |
+
print(play.moves)
|
| 8 |
+
print(play.position)
|
| 9 |
|
| 10 |
|
| 11 |
demo = gr.Interface(fn=greet, inputs="text", outputs="text")
|