Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -109,7 +109,7 @@ async def handle_action(request: Request):
|
|
| 109 |
else:
|
| 110 |
return {"success": False, "message": "You can only steal once per turn."}
|
| 111 |
|
| 112 |
-
if action == '
|
| 113 |
game["challenge"] = {
|
| 114 |
"action": 'coup',
|
| 115 |
"challenger": target,
|
|
|
|
| 109 |
else:
|
| 110 |
return {"success": False, "message": "You can only steal once per turn."}
|
| 111 |
|
| 112 |
+
if action == 'coup':
|
| 113 |
game["challenge"] = {
|
| 114 |
"action": 'coup',
|
| 115 |
"challenger": target,
|