Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -177,7 +177,7 @@ async def handle_action(request: Request):
|
|
| 177 |
return {"success": False, "message": "You can only earn money once per turn."}
|
| 178 |
p["coins"] += 1
|
| 179 |
game["permissions"][player]["gain"] = False
|
| 180 |
-
return {"success": True, "message": f"
|
| 181 |
if not player_found:
|
| 182 |
raise HTTPException(status_code=404, detail="Player not found in the game.")
|
| 183 |
|
|
|
|
| 177 |
return {"success": False, "message": "You can only earn money once per turn."}
|
| 178 |
p["coins"] += 1
|
| 179 |
game["permissions"][player]["gain"] = False
|
| 180 |
+
return {"success": True, "message": f"You now have {p['coins']} coins."}
|
| 181 |
if not player_found:
|
| 182 |
raise HTTPException(status_code=404, detail="Player not found in the game.")
|
| 183 |
|