incognitolm commited on
Commit
86bf0b6
·
verified ·
1 Parent(s): 7f8c3d4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -143,8 +143,8 @@ async def handle_action(request: Request):
143
  return {"success": True, "message": f"Coup initiated by {player} targeting {target}."}
144
 
145
  if action == 'assassin':
146
- if player_data["coins"] < 3:
147
- return {"success": False, "message": "You don't have enough coins to assassinate another player."}
148
  if game["turn"] != player:
149
  return {"success": False, "message": "Not your turn."}
150
  # game["challenge"] = {
 
143
  return {"success": True, "message": f"Coup initiated by {player} targeting {target}."}
144
 
145
  if action == 'assassin':
146
+ # if player_data["coins"] < 3:
147
+ # return {"success": False, "message": "You don't have enough coins to assassinate another player."}
148
  if game["turn"] != player:
149
  return {"success": False, "message": "Not your turn."}
150
  # game["challenge"] = {