From c8c2e556090881d551a6aa8dc8ce94efe9730372 Mon Sep 17 00:00:00 2001 From: "jeremy.mouyon" Date: Sat, 18 May 2024 08:23:06 +0200 Subject: [PATCH] score update --- Qwirkle/QwirkleClassLibrary/Players/Score.cs | 2 +- Qwirkle/QwirkleConsoleApp/Program.cs | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/Qwirkle/QwirkleClassLibrary/Players/Score.cs b/Qwirkle/QwirkleClassLibrary/Players/Score.cs index 8d8c51e..dc10780 100644 --- a/Qwirkle/QwirkleClassLibrary/Players/Score.cs +++ b/Qwirkle/QwirkleClassLibrary/Players/Score.cs @@ -25,7 +25,7 @@ namespace QwirkleClassLibrary.Players public override string ToString() { - return PlayerName + " Date last game :" + Date.ToString() + " Points :" + Points + " Win : " + Victories; + return PlayerName + " / " + Date.ToString() + " / " + Points + " / " + Victories; } } diff --git a/Qwirkle/QwirkleConsoleApp/Program.cs b/Qwirkle/QwirkleConsoleApp/Program.cs index d111a1f..c0bbcdc 100644 --- a/Qwirkle/QwirkleConsoleApp/Program.cs +++ b/Qwirkle/QwirkleConsoleApp/Program.cs @@ -261,11 +261,15 @@ static void ShowScoreBoard(Game g) static void ShowLeaderboard(Leaderboard leaderboard) { WriteLine(" --------------------- THE LEADERBOARD : ---------------------"); + WriteLine("Position : | PlayerTag : | Last Date : | Points : | Victories :"); for (int i=0; i