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; 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; } }