Selaa lähdekoodia

improve leaderboard

Eren Yilmaz 6 vuotta sitten
vanhempi
commit
fb2441ae5c
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      client_controller.py

+ 2 - 2
client_controller.py

@@ -180,8 +180,8 @@ def leaderboard():
     response = client_request('leaderboard', {"session_id": connection.session_id})
     success = 'data' in response
     if success:
-        print(_my_tabulate(response['data'], headers=['User', 'Wealth'], tablefmt="pipe"))
-        print('Remember that the goal is to be as rich as possible, not to be richer than other traders!')
+        print(_my_tabulate(response['data'], headers=['Trader', 'Wealth'], tablefmt="pipe"))
+        # print('Remember that the goal is to be as rich as possible, not to be richer than other traders!')
     else:
         if 'error_message' in response:
             print('Leaderboard access failed with message:', response['error_message'])