diff --git a/Qwirkle/QwirkleViews/Views/ScoreboardLine.xaml b/Qwirkle/QwirkleViews/Views/ScoreboardLine.xaml
index 3be52f5..9c743bb 100644
--- a/Qwirkle/QwirkleViews/Views/ScoreboardLine.xaml
+++ b/Qwirkle/QwirkleViews/Views/ScoreboardLine.xaml
@@ -8,7 +8,7 @@
diff --git a/Qwirkle/QwirkleViews/Views/ScoreboardLine.xaml.cs b/Qwirkle/QwirkleViews/Views/ScoreboardLine.xaml.cs
index 24be115..cae2e7a 100644
--- a/Qwirkle/QwirkleViews/Views/ScoreboardLine.xaml.cs
+++ b/Qwirkle/QwirkleViews/Views/ScoreboardLine.xaml.cs
@@ -1,5 +1,8 @@
+using QwirkleClassLibrary.Games;
+using QwirkleClassLibrary.Players;
using System;
using System.Collections.Generic;
+using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
@@ -8,8 +11,23 @@ namespace Qwirkle.Views;
public partial class ScoreboardLine : ContentView
{
+ public ReadOnlyDictionary scoreboard = ((App)App.Current!).Game.ScoreBoard;
+
+ List nameTags = scoreboard.Keys.ToList();
+
+ List nbPoints = scoreboard.Values.ToList();
+
+ Dictionary modifiableDictionary = new Dictionary(scoreboard);
+
+
+
+ public static readonly BindableProperty ScoreboardLineProperty = BindableProperty.Create("ScoreBLine", typeof(ScoreboardLine), typeof(object));
+
public ScoreboardLine()
{
InitializeComponent();
+ BindingContext = scoreboard;
}
+
+
}
\ No newline at end of file