diff --git a/Console/Console.csproj b/ConsoleApp/ConsoleApp.csproj
similarity index 96%
rename from Console/Console.csproj
rename to ConsoleApp/ConsoleApp.csproj
index fd022db..e83c6af 100644
--- a/Console/Console.csproj
+++ b/ConsoleApp/ConsoleApp.csproj
@@ -1,14 +1,14 @@
-
-
-
- Exe
- net8.0
- enable
- enable
-
-
-
-
-
-
-
+
+
+
+ Exe
+ net8.0
+ enable
+ enable
+
+
+
+
+
+
+
diff --git a/Console/Program.cs b/ConsoleApp/Program.cs
similarity index 100%
rename from Console/Program.cs
rename to ConsoleApp/Program.cs
diff --git a/BibliothequeClasses/BibliothequeClasses.csproj b/CoreLibrary/CoreLibrary.csproj
similarity index 95%
rename from BibliothequeClasses/BibliothequeClasses.csproj
rename to CoreLibrary/CoreLibrary.csproj
index bb23fb7..fa71b7a 100644
--- a/BibliothequeClasses/BibliothequeClasses.csproj
+++ b/CoreLibrary/CoreLibrary.csproj
@@ -1,9 +1,9 @@
-
-
-
- net8.0
- enable
- enable
-
-
-
+
+
+
+ net8.0
+ enable
+ enable
+
+
+
diff --git a/BibliothequeClasses/couleurs.cs b/CoreLibrary/Couleurs.cs
similarity index 94%
rename from BibliothequeClasses/couleurs.cs
rename to CoreLibrary/Couleurs.cs
index 0dd735a..35a7015 100644
--- a/BibliothequeClasses/couleurs.cs
+++ b/CoreLibrary/Couleurs.cs
@@ -1,17 +1,17 @@
-using System;
-
-namespace BibliothequeClasses
-{
- ///
- /// Énumération représentant les 6 couleurs que peuvent prendre les jetons.
- ///
- public enum Couleur
- {
- Rouge,
- Bleu,
- Vert,
- Jaune,
- Noir = 100,
- Blanc,
- }
-}
+using System;
+
+namespace BibliothequeClasses
+{
+ ///
+ /// Énumération représentant les 6 couleurs que peuvent prendre les jetons.
+ ///
+ public enum Couleur
+ {
+ Rouge,
+ Bleu,
+ Vert,
+ Jaune,
+ Noir = 100,
+ Blanc,
+ }
+}
diff --git a/BibliothequeClasses/Jeton.cs b/CoreLibrary/Jeton.cs
similarity index 96%
rename from BibliothequeClasses/Jeton.cs
rename to CoreLibrary/Jeton.cs
index ecf62c0..92834d6 100644
--- a/BibliothequeClasses/Jeton.cs
+++ b/CoreLibrary/Jeton.cs
@@ -1,28 +1,28 @@
-using System;
-
-namespace BibliothequeClasses
-{
- ///
- /// Représente un jeton de jeu qui permet de récupérer et de modifier sa couleur.
- ///
- public abstract class Jeton
- {
- ///
- /// Initialise une nouvelle instance de la classe Jeton avec la couleur spécifiée.
- ///
- /// La couleur du jeton.
- protected Jeton(Couleur couleur)
- {
- this.Couleur = couleur;
- }
-
- ///
- /// Obtient la couleur du jeton.
- ///
- public Couleur Couleur
- {
- get;
- private set;
- }
- }
-}
+using System;
+
+namespace BibliothequeClasses
+{
+ ///
+ /// Représente un jeton de jeu qui permet de récupérer et de modifier sa couleur.
+ ///
+ public abstract class Jeton
+ {
+ ///
+ /// Initialise une nouvelle instance de la classe Jeton avec la couleur spécifiée.
+ ///
+ /// La couleur du jeton.
+ protected Jeton(Couleur couleur)
+ {
+ this.Couleur = couleur;
+ }
+
+ ///
+ /// Obtient la couleur du jeton.
+ ///
+ public Couleur Couleur
+ {
+ get;
+ private set;
+ }
+ }
+}
diff --git a/BibliothequeClasses/JetonIndicateur.cs b/CoreLibrary/JetonIndicateur.cs
similarity index 96%
rename from BibliothequeClasses/JetonIndicateur.cs
rename to CoreLibrary/JetonIndicateur.cs
index 62866ef..5a16657 100644
--- a/BibliothequeClasses/JetonIndicateur.cs
+++ b/CoreLibrary/JetonIndicateur.cs
@@ -1,29 +1,29 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-
-namespace BibliothequeClasses
-{
- ///
- /// Représente un jeton indicateur, une classe dérivée de la classe Jeton.
- ///
- public class JetonIndicateur : Jeton
- {
- ///
- /// Initialise une nouvelle instance de la classe JetonIndicateur avec la couleur spécifiée.
- ///
- /// La couleur du jeton.
- /// Levée si la couleur spécifiée n'est pas Noir ou Blanc.
- public JetonIndicateur(Couleur couleur)
- : base(couleur)
- {
- if (couleur < Couleur.Noir)
- {
- throw new ArgumentException("La couleur doit être Noir ou Blanc");
- }
- }
- }
-}
-
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace BibliothequeClasses
+{
+ ///
+ /// Représente un jeton indicateur, une classe dérivée de la classe Jeton.
+ ///
+ public class JetonIndicateur : Jeton
+ {
+ ///
+ /// Initialise une nouvelle instance de la classe JetonIndicateur avec la couleur spécifiée.
+ ///
+ /// La couleur du jeton.
+ /// Levée si la couleur spécifiée n'est pas Noir ou Blanc.
+ public JetonIndicateur(Couleur couleur)
+ : base(couleur)
+ {
+ if (couleur < Couleur.Noir)
+ {
+ throw new ArgumentException("La couleur doit être Noir ou Blanc");
+ }
+ }
+ }
+}
+
diff --git a/BibliothequeClasses/JetonJoueur.cs b/CoreLibrary/JetonJoueur.cs
similarity index 96%
rename from BibliothequeClasses/JetonJoueur.cs
rename to CoreLibrary/JetonJoueur.cs
index 487e6a7..73a73a8 100644
--- a/BibliothequeClasses/JetonJoueur.cs
+++ b/CoreLibrary/JetonJoueur.cs
@@ -1,25 +1,25 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-
-namespace BibliothequeClasses
-{
- ///
- /// Représente un jeton joueur, une classe dérivée de la classe Jeton.
- ///
- public class JetonJoueur : Jeton
- {
- ///
- /// Initialise une nouvelle instance de la classe JetonJoueur avec la couleur spécifiée.
- ///
- /// La couleur du jeton.
- public JetonJoueur(Couleur couleur)
- : base(couleur)
- {
-
- }
- }
-}
-
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace BibliothequeClasses
+{
+ ///
+ /// Représente un jeton joueur, une classe dérivée de la classe Jeton.
+ ///
+ public class JetonJoueur : Jeton
+ {
+ ///
+ /// Initialise une nouvelle instance de la classe JetonJoueur avec la couleur spécifiée.
+ ///
+ /// La couleur du jeton.
+ public JetonJoueur(Couleur couleur)
+ : base(couleur)
+ {
+
+ }
+ }
+}
+
diff --git a/BibliothequeClasses/Joueur.cs b/CoreLibrary/Joueur.cs
similarity index 100%
rename from BibliothequeClasses/Joueur.cs
rename to CoreLibrary/Joueur.cs
diff --git a/BibliothequeClasses/Partie.cs b/CoreLibrary/Partie.cs
similarity index 100%
rename from BibliothequeClasses/Partie.cs
rename to CoreLibrary/Partie.cs
diff --git a/BibliothequeClasses/Plateau.cs b/CoreLibrary/Plateau.cs
similarity index 97%
rename from BibliothequeClasses/Plateau.cs
rename to CoreLibrary/Plateau.cs
index 4b81db9..197f4f1 100644
--- a/BibliothequeClasses/Plateau.cs
+++ b/CoreLibrary/Plateau.cs
@@ -1,48 +1,48 @@
-using System;
-using System.ComponentModel.DataAnnotations;
-using System.Reflection;
-using System.Collections.Generic;
-
-namespace BibliothequeClasses
-{
-
- ///
- /// Représente le plateau de jeu qui initialise deux tableaux de taille 12.
- /// Il possède deux méthodes : une pour ajouter une combinaison dans le tableau et une autre pour vérifier si le tableau est plein.
- ///
- public class Plateau
- {
- private static readonly int tailleMax = 12;
- private CombinaisonSecrete combinaisonSecrete = new CombinaisonSecrete();
- private CombinaisonJoueur[] lesCombinaisonsJoueur = new CombinaisonJoueur[tailleMax];
- private Combinaison[] lesCombinaisonsIndicateur = new CombinaisonIndicateur[tailleMax];
- private int index = 0;
-
- ///
- /// Ajoute une combinaison de joueur au plateau.
- ///
- /// La combinaison du joueur à ajouter.
- /// True si la combinaison correspond à la combinaison secrète, sinon False.
- public bool AjouterCombinaison(CombinaisonJoueur combinaisonJoueur)
- {
- if (EstComplet())
- {
- throw new Exception("Le plateau est plein, impossible d'ajouter une combinaison supplémentaire.");
- }
-
- lesCombinaisonsJoueur[index] = combinaisonJoueur;
- index++;
- return combinaisonSecrete.EstEgal(combinaisonJoueur);
- }
-
- ///
- /// Vérifie si le plateau est complet.
- ///
- /// True si le plateau est plein, sinon False.
- public bool EstComplet()
- {
- return index >= tailleMax;
- }
- }
-}
-
+using System;
+using System.ComponentModel.DataAnnotations;
+using System.Reflection;
+using System.Collections.Generic;
+
+namespace BibliothequeClasses
+{
+
+ ///
+ /// Représente le plateau de jeu qui initialise deux tableaux de taille 12.
+ /// Il possède deux méthodes : une pour ajouter une combinaison dans le tableau et une autre pour vérifier si le tableau est plein.
+ ///
+ public class Plateau
+ {
+ private static readonly int tailleMax = 12;
+ private CombinaisonSecrete combinaisonSecrete = new CombinaisonSecrete();
+ private CombinaisonJoueur[] lesCombinaisonsJoueur = new CombinaisonJoueur[tailleMax];
+ private Combinaison[] lesCombinaisonsIndicateur = new CombinaisonIndicateur[tailleMax];
+ private int index = 0;
+
+ ///
+ /// Ajoute une combinaison de joueur au plateau.
+ ///
+ /// La combinaison du joueur à ajouter.
+ /// True si la combinaison correspond à la combinaison secrète, sinon False.
+ public bool AjouterCombinaison(CombinaisonJoueur combinaisonJoueur)
+ {
+ if (EstComplet())
+ {
+ throw new Exception("Le plateau est plein, impossible d'ajouter une combinaison supplémentaire.");
+ }
+
+ lesCombinaisonsJoueur[index] = combinaisonJoueur;
+ index++;
+ return combinaisonSecrete.EstEgal(combinaisonJoueur);
+ }
+
+ ///
+ /// Vérifie si le plateau est complet.
+ ///
+ /// True si le plateau est plein, sinon False.
+ public bool EstComplet()
+ {
+ return index >= tailleMax;
+ }
+ }
+}
+
diff --git a/BibliothequeClasses/abc.cs b/CoreLibrary/abc.cs
similarity index 100%
rename from BibliothequeClasses/abc.cs
rename to CoreLibrary/abc.cs
diff --git a/mastermind/App.xaml b/MauiSpark/App.xaml
similarity index 92%
rename from mastermind/App.xaml
rename to MauiSpark/App.xaml
index b850e1e..1fcc0bc 100644
--- a/mastermind/App.xaml
+++ b/MauiSpark/App.xaml
@@ -1,14 +1,14 @@
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
diff --git a/mastermind/App.xaml.cs b/MauiSpark/App.xaml.cs
similarity index 82%
rename from mastermind/App.xaml.cs
rename to MauiSpark/App.xaml.cs
index ad9efe4..375acaa 100644
--- a/mastermind/App.xaml.cs
+++ b/MauiSpark/App.xaml.cs
@@ -1,12 +1,12 @@
-namespace mastermind
-{
- public partial class App : Application
- {
- public App()
- {
- InitializeComponent();
-
- MainPage = new AppShell();
- }
- }
-}
+namespace MauiSpark
+{
+ public partial class App : Application
+ {
+ public App()
+ {
+ InitializeComponent();
+
+ MainPage = new AppShell();
+ }
+ }
+}
diff --git a/mastermind/AppShell.xaml b/MauiSpark/AppShell.xaml
similarity index 89%
rename from mastermind/AppShell.xaml
rename to MauiSpark/AppShell.xaml
index 9402012..2833853 100644
--- a/mastermind/AppShell.xaml
+++ b/MauiSpark/AppShell.xaml
@@ -1,43 +1,43 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/mastermind/AppShell.xaml.cs b/MauiSpark/AppShell.xaml.cs
similarity index 80%
rename from mastermind/AppShell.xaml.cs
rename to MauiSpark/AppShell.xaml.cs
index 0fcecd0..d52f2e3 100644
--- a/mastermind/AppShell.xaml.cs
+++ b/MauiSpark/AppShell.xaml.cs
@@ -1,10 +1,10 @@
-namespace mastermind
-{
- public partial class AppShell : Shell
- {
- public AppShell()
- {
- InitializeComponent();
- }
- }
-}
+namespace MauiSpark
+{
+ public partial class AppShell : Shell
+ {
+ public AppShell()
+ {
+ InitializeComponent();
+ }
+ }
+}
diff --git a/mastermind/MauiProgram.cs b/MauiSpark/MauiProgram.cs
similarity index 92%
rename from mastermind/MauiProgram.cs
rename to MauiSpark/MauiProgram.cs
index 180aedb..a44a012 100644
--- a/mastermind/MauiProgram.cs
+++ b/MauiSpark/MauiProgram.cs
@@ -1,25 +1,25 @@
-using Microsoft.Extensions.Logging;
-
-namespace mastermind
-{
- public static class MauiProgram
- {
- public static MauiApp CreateMauiApp()
- {
- var builder = MauiApp.CreateBuilder();
- builder
- .UseMauiApp()
- .ConfigureFonts(fonts =>
- {
- fonts.AddFont("OpenSans-Regular.ttf", "OpenSansRegular");
- fonts.AddFont("OpenSans-Semibold.ttf", "OpenSansSemibold");
- });
-
-#if DEBUG
- builder.Logging.AddDebug();
-#endif
-
- return builder.Build();
- }
- }
-}
+using Microsoft.Extensions.Logging;
+
+namespace MauiSpark
+{
+ public static class MauiProgram
+ {
+ public static MauiApp CreateMauiApp()
+ {
+ var builder = MauiApp.CreateBuilder();
+ builder
+ .UseMauiApp()
+ .ConfigureFonts(fonts =>
+ {
+ fonts.AddFont("OpenSans-Regular.ttf", "OpenSansRegular");
+ fonts.AddFont("OpenSans-Semibold.ttf", "OpenSansSemibold");
+ });
+
+#if DEBUG
+ builder.Logging.AddDebug();
+#endif
+
+ return builder.Build();
+ }
+ }
+}
diff --git a/mastermind/mastermind.csproj b/MauiSpark/MauiSpark.csproj
similarity index 94%
rename from mastermind/mastermind.csproj
rename to MauiSpark/MauiSpark.csproj
index f723780..2e30ff5 100644
--- a/mastermind/mastermind.csproj
+++ b/MauiSpark/MauiSpark.csproj
@@ -1,115 +1,115 @@
-
-
-
- net8.0-android;net8.0-ios;net8.0-maccatalyst
- $(TargetFrameworks);net8.0-windows10.0.19041.0
-
-
-
-
-
-
- Exe
- mastermind
- true
- true
- enable
- enable
-
-
- mastermind
-
-
- com.companyname.mastermind
-
-
- 1.0
- 1
-
- 11.0
- 13.1
- 21.0
- 10.0.17763.0
- 10.0.17763.0
- 6.5
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- %(Filename)
-
-
- TableauScore.xaml
-
-
- MSBuild:Compile
-
-
- MSBuild:Compile
-
-
- MSBuild:Compile
-
-
- MSBuild:Compile
-
-
- MSBuild:Compile
-
-
- MSBuild:Compile
-
-
-
-
-
- Connexion.xaml
-
-
- ConnexionPage.xaml
-
-
-
-
-
- MSBuild:Compile
-
-
- MSBuild:Compile
-
-
-
-
-
- MSBuild:Compile
-
-
-
-
+
+
+
+ net8.0-android;net8.0-ios;net8.0-maccatalyst
+ $(TargetFrameworks);net8.0-windows10.0.19041.0
+
+
+
+
+
+
+ Exe
+ MauiSpark
+ true
+ true
+ enable
+ enable
+
+
+ MauiSpark
+
+
+ com.companyname.MauiSpark
+
+
+ 1.0
+ 1
+
+ 11.0
+ 13.1
+ 21.0
+ 10.0.17763.0
+ 10.0.17763.0
+ 6.5
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ %(Filename)
+
+
+ TableauScore.xaml
+
+
+ MSBuild:Compile
+
+
+ MSBuild:Compile
+
+
+ MSBuild:Compile
+
+
+ MSBuild:Compile
+
+
+ MSBuild:Compile
+
+
+ MSBuild:Compile
+
+
+
+
+
+ Connexion.xaml
+
+
+ ConnexionPage.xaml
+
+
+
+
+
+ MSBuild:Compile
+
+
+ MSBuild:Compile
+
+
+
+
+
+ MSBuild:Compile
+
+
+
+
diff --git a/mastermind/Pages/Accueil.xaml b/MauiSpark/Pages/Accueil.xaml
similarity index 96%
rename from mastermind/Pages/Accueil.xaml
rename to MauiSpark/Pages/Accueil.xaml
index feef823..26f29bb 100644
--- a/mastermind/Pages/Accueil.xaml
+++ b/MauiSpark/Pages/Accueil.xaml
@@ -1,53 +1,53 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/mastermind/Pages/Accueil.xaml.cs b/MauiSpark/Pages/Accueil.xaml.cs
similarity index 93%
rename from mastermind/Pages/Accueil.xaml.cs
rename to MauiSpark/Pages/Accueil.xaml.cs
index cb80fba..ecb9cec 100644
--- a/mastermind/Pages/Accueil.xaml.cs
+++ b/MauiSpark/Pages/Accueil.xaml.cs
@@ -1,9 +1,9 @@
-namespace mastermind.Pages;
-
-public partial class Accueil : ContentPage
-{
- public Accueil()
- {
- InitializeComponent();
- }
+namespace mastermind.Pages;
+
+public partial class Accueil : ContentPage
+{
+ public Accueil()
+ {
+ InitializeComponent();
+ }
}
\ No newline at end of file
diff --git a/mastermind/Pages/ConnexionPage.xaml b/MauiSpark/Pages/ConnexionPage.xaml
similarity index 95%
rename from mastermind/Pages/ConnexionPage.xaml
rename to MauiSpark/Pages/ConnexionPage.xaml
index 6f61f98..be8f360 100644
--- a/mastermind/Pages/ConnexionPage.xaml
+++ b/MauiSpark/Pages/ConnexionPage.xaml
@@ -1,31 +1,31 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/mastermind/Pages/ConnexionPage.xaml.cs b/MauiSpark/Pages/ConnexionPage.xaml.cs
similarity index 93%
rename from mastermind/Pages/ConnexionPage.xaml.cs
rename to MauiSpark/Pages/ConnexionPage.xaml.cs
index 5d6d432..4132165 100644
--- a/mastermind/Pages/ConnexionPage.xaml.cs
+++ b/MauiSpark/Pages/ConnexionPage.xaml.cs
@@ -1,9 +1,9 @@
-namespace mastermind.Pages;
-
-public partial class ConnexionPage : ContentPage
-{
- public ConnexionPage()
- {
- InitializeComponent();
- }
+namespace mastermind.Pages;
+
+public partial class ConnexionPage : ContentPage
+{
+ public ConnexionPage()
+ {
+ InitializeComponent();
+ }
}
\ No newline at end of file
diff --git a/mastermind/Pages/Defaite.xaml b/MauiSpark/Pages/Defaite.xaml
similarity index 97%
rename from mastermind/Pages/Defaite.xaml
rename to MauiSpark/Pages/Defaite.xaml
index 55c95c8..aa0ece6 100644
--- a/mastermind/Pages/Defaite.xaml
+++ b/MauiSpark/Pages/Defaite.xaml
@@ -1,20 +1,20 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/mastermind/Pages/Defaite.xaml.cs b/MauiSpark/Pages/Defaite.xaml.cs
similarity index 93%
rename from mastermind/Pages/Defaite.xaml.cs
rename to MauiSpark/Pages/Defaite.xaml.cs
index 74f3619..6c9bb3b 100644
--- a/mastermind/Pages/Defaite.xaml.cs
+++ b/MauiSpark/Pages/Defaite.xaml.cs
@@ -1,9 +1,9 @@
-namespace mastermind.Pages;
-
-public partial class Defaite : ContentPage
-{
- public Defaite()
- {
- InitializeComponent();
- }
+namespace mastermind.Pages;
+
+public partial class Defaite : ContentPage
+{
+ public Defaite()
+ {
+ InitializeComponent();
+ }
}
\ No newline at end of file
diff --git a/mastermind/Pages/Egaliter.xaml b/MauiSpark/Pages/Egaliter.xaml
similarity index 97%
rename from mastermind/Pages/Egaliter.xaml
rename to MauiSpark/Pages/Egaliter.xaml
index 695837e..8a91e37 100644
--- a/mastermind/Pages/Egaliter.xaml
+++ b/MauiSpark/Pages/Egaliter.xaml
@@ -1,20 +1,20 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/mastermind/Pages/Egaliter.xaml.cs b/MauiSpark/Pages/Egaliter.xaml.cs
similarity index 93%
rename from mastermind/Pages/Egaliter.xaml.cs
rename to MauiSpark/Pages/Egaliter.xaml.cs
index 6d984e3..372d0b1 100644
--- a/mastermind/Pages/Egaliter.xaml.cs
+++ b/MauiSpark/Pages/Egaliter.xaml.cs
@@ -1,9 +1,9 @@
-namespace mastermind.Pages;
-
-public partial class Egaliter : ContentPage
-{
- public Egaliter()
- {
- InitializeComponent();
- }
+namespace mastermind.Pages;
+
+public partial class Egaliter : ContentPage
+{
+ public Egaliter()
+ {
+ InitializeComponent();
+ }
}
\ No newline at end of file
diff --git a/mastermind/Pages/Regle.xaml b/MauiSpark/Pages/Regle.xaml
similarity index 98%
rename from mastermind/Pages/Regle.xaml
rename to MauiSpark/Pages/Regle.xaml
index 8eb0589..a89b450 100644
--- a/mastermind/Pages/Regle.xaml
+++ b/MauiSpark/Pages/Regle.xaml
@@ -1,32 +1,32 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/mastermind/Pages/Regle.xaml.cs b/MauiSpark/Pages/Regle.xaml.cs
similarity index 92%
rename from mastermind/Pages/Regle.xaml.cs
rename to MauiSpark/Pages/Regle.xaml.cs
index 0d22817..5cfc5e5 100644
--- a/mastermind/Pages/Regle.xaml.cs
+++ b/MauiSpark/Pages/Regle.xaml.cs
@@ -1,9 +1,9 @@
-namespace mastermind.Pages;
-
-public partial class Regle : ContentPage
-{
- public Regle()
- {
- InitializeComponent();
- }
+namespace mastermind.Pages;
+
+public partial class Regle : ContentPage
+{
+ public Regle()
+ {
+ InitializeComponent();
+ }
}
\ No newline at end of file
diff --git a/mastermind/Pages/TableauScore.xaml b/MauiSpark/Pages/TableauScore.xaml
similarity index 97%
rename from mastermind/Pages/TableauScore.xaml
rename to MauiSpark/Pages/TableauScore.xaml
index d701db3..a6e5a32 100644
--- a/mastermind/Pages/TableauScore.xaml
+++ b/MauiSpark/Pages/TableauScore.xaml
@@ -1,43 +1,43 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/mastermind/Pages/Victoire.xaml b/MauiSpark/Pages/Victoire.xaml
similarity index 97%
rename from mastermind/Pages/Victoire.xaml
rename to MauiSpark/Pages/Victoire.xaml
index bb2f7c2..cd250c7 100644
--- a/mastermind/Pages/Victoire.xaml
+++ b/MauiSpark/Pages/Victoire.xaml
@@ -1,20 +1,20 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/mastermind/Pages/Victoire.xaml.cs b/MauiSpark/Pages/Victoire.xaml.cs
similarity index 93%
rename from mastermind/Pages/Victoire.xaml.cs
rename to MauiSpark/Pages/Victoire.xaml.cs
index 4037b45..ee38509 100644
--- a/mastermind/Pages/Victoire.xaml.cs
+++ b/MauiSpark/Pages/Victoire.xaml.cs
@@ -1,9 +1,9 @@
-namespace mastermind.Pages;
-
-public partial class Victoire : ContentPage
-{
- public Victoire()
- {
- InitializeComponent();
- }
+namespace mastermind.Pages;
+
+public partial class Victoire : ContentPage
+{
+ public Victoire()
+ {
+ InitializeComponent();
+ }
}
\ No newline at end of file
diff --git a/mastermind/Pages/tableauScore.xaml.cs b/MauiSpark/Pages/tableauScore.xaml.cs
similarity index 93%
rename from mastermind/Pages/tableauScore.xaml.cs
rename to MauiSpark/Pages/tableauScore.xaml.cs
index bb78148..9630843 100644
--- a/mastermind/Pages/tableauScore.xaml.cs
+++ b/MauiSpark/Pages/tableauScore.xaml.cs
@@ -1,9 +1,9 @@
-namespace mastermind.Pages;
-
-public partial class TableauScore : ContentPage
-{
- public TableauScore()
- {
- InitializeComponent();
- }
+namespace mastermind.Pages;
+
+public partial class TableauScore : ContentPage
+{
+ public TableauScore()
+ {
+ InitializeComponent();
+ }
}
\ No newline at end of file
diff --git a/mastermind/Platforms/Android/AndroidManifest.xml b/MauiSpark/Platforms/Android/AndroidManifest.xml
similarity index 96%
rename from mastermind/Platforms/Android/AndroidManifest.xml
rename to MauiSpark/Platforms/Android/AndroidManifest.xml
index bdec9b5..e9937ad 100644
--- a/mastermind/Platforms/Android/AndroidManifest.xml
+++ b/MauiSpark/Platforms/Android/AndroidManifest.xml
@@ -1,6 +1,6 @@
-
-
-
-
-
+
+
+
+
+
\ No newline at end of file
diff --git a/mastermind/Platforms/Android/MainActivity.cs b/MauiSpark/Platforms/Android/MainActivity.cs
similarity index 97%
rename from mastermind/Platforms/Android/MainActivity.cs
rename to MauiSpark/Platforms/Android/MainActivity.cs
index ae7604d..f9c78f3 100644
--- a/mastermind/Platforms/Android/MainActivity.cs
+++ b/MauiSpark/Platforms/Android/MainActivity.cs
@@ -1,11 +1,11 @@
-using Android.App;
-using Android.Content.PM;
-using Android.OS;
-
-namespace mastermind
-{
- [Activity(Theme = "@style/Maui.SplashTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation | ConfigChanges.UiMode | ConfigChanges.ScreenLayout | ConfigChanges.SmallestScreenSize | ConfigChanges.Density)]
- public class MainActivity : MauiAppCompatActivity
- {
- }
-}
+using Android.App;
+using Android.Content.PM;
+using Android.OS;
+
+namespace mastermind
+{
+ [Activity(Theme = "@style/Maui.SplashTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation | ConfigChanges.UiMode | ConfigChanges.ScreenLayout | ConfigChanges.SmallestScreenSize | ConfigChanges.Density)]
+ public class MainActivity : MauiAppCompatActivity
+ {
+ }
+}
diff --git a/mastermind/Platforms/Android/MainApplication.cs b/MauiSpark/Platforms/Android/MainApplication.cs
similarity index 95%
rename from mastermind/Platforms/Android/MainApplication.cs
rename to MauiSpark/Platforms/Android/MainApplication.cs
index 7f13f15..69d26e3 100644
--- a/mastermind/Platforms/Android/MainApplication.cs
+++ b/MauiSpark/Platforms/Android/MainApplication.cs
@@ -1,16 +1,16 @@
-using Android.App;
-using Android.Runtime;
-
-namespace mastermind
-{
- [Application]
- public class MainApplication : MauiApplication
- {
- public MainApplication(IntPtr handle, JniHandleOwnership ownership)
- : base(handle, ownership)
- {
- }
-
- protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp();
- }
-}
+using Android.App;
+using Android.Runtime;
+
+namespace mastermind
+{
+ [Application]
+ public class MainApplication : MauiApplication
+ {
+ public MainApplication(IntPtr handle, JniHandleOwnership ownership)
+ : base(handle, ownership)
+ {
+ }
+
+ protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp();
+ }
+}
diff --git a/mastermind/Platforms/Android/Resources/values/colors.xml b/MauiSpark/Platforms/Android/Resources/values/colors.xml
similarity index 91%
rename from mastermind/Platforms/Android/Resources/values/colors.xml
rename to MauiSpark/Platforms/Android/Resources/values/colors.xml
index 5cd1604..c04d749 100644
--- a/mastermind/Platforms/Android/Resources/values/colors.xml
+++ b/MauiSpark/Platforms/Android/Resources/values/colors.xml
@@ -1,6 +1,6 @@
-
-
- #512BD4
- #2B0B98
- #2B0B98
+
+
+ #512BD4
+ #2B0B98
+ #2B0B98
\ No newline at end of file
diff --git a/mastermind/Platforms/iOS/AppDelegate.cs b/MauiSpark/Platforms/MacCatalyst/AppDelegate.cs
similarity index 95%
rename from mastermind/Platforms/iOS/AppDelegate.cs
rename to MauiSpark/Platforms/MacCatalyst/AppDelegate.cs
index ca554e7..b69a836 100644
--- a/mastermind/Platforms/iOS/AppDelegate.cs
+++ b/MauiSpark/Platforms/MacCatalyst/AppDelegate.cs
@@ -1,10 +1,10 @@
-using Foundation;
-
-namespace mastermind
-{
- [Register("AppDelegate")]
- public class AppDelegate : MauiUIApplicationDelegate
- {
- protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp();
- }
-}
+using Foundation;
+
+namespace mastermind
+{
+ [Register("AppDelegate")]
+ public class AppDelegate : MauiUIApplicationDelegate
+ {
+ protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp();
+ }
+}
diff --git a/mastermind/Platforms/MacCatalyst/Entitlements.plist b/MauiSpark/Platforms/MacCatalyst/Entitlements.plist
similarity index 97%
rename from mastermind/Platforms/MacCatalyst/Entitlements.plist
rename to MauiSpark/Platforms/MacCatalyst/Entitlements.plist
index 8e87c0c..de4adc9 100644
--- a/mastermind/Platforms/MacCatalyst/Entitlements.plist
+++ b/MauiSpark/Platforms/MacCatalyst/Entitlements.plist
@@ -1,14 +1,14 @@
-
-
-
-
-
-
- com.apple.security.app-sandbox
-
-
- com.apple.security.network.client
-
-
-
-
+
+
+
+
+
+
+ com.apple.security.app-sandbox
+
+
+ com.apple.security.network.client
+
+
+
+
diff --git a/mastermind/Platforms/MacCatalyst/Info.plist b/MauiSpark/Platforms/MacCatalyst/Info.plist
similarity index 97%
rename from mastermind/Platforms/MacCatalyst/Info.plist
rename to MauiSpark/Platforms/MacCatalyst/Info.plist
index f24aacc..7268977 100644
--- a/mastermind/Platforms/MacCatalyst/Info.plist
+++ b/MauiSpark/Platforms/MacCatalyst/Info.plist
@@ -1,38 +1,38 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
- UIDeviceFamily
-
- 2
-
- UIRequiredDeviceCapabilities
-
- arm64
-
- UISupportedInterfaceOrientations
-
- UIInterfaceOrientationPortrait
- UIInterfaceOrientationLandscapeLeft
- UIInterfaceOrientationLandscapeRight
-
- UISupportedInterfaceOrientations~ipad
-
- UIInterfaceOrientationPortrait
- UIInterfaceOrientationPortraitUpsideDown
- UIInterfaceOrientationLandscapeLeft
- UIInterfaceOrientationLandscapeRight
-
- XSAppIconAssets
- Assets.xcassets/appicon.appiconset
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+ UIDeviceFamily
+
+ 2
+
+ UIRequiredDeviceCapabilities
+
+ arm64
+
+ UISupportedInterfaceOrientations
+
+ UIInterfaceOrientationPortrait
+ UIInterfaceOrientationLandscapeLeft
+ UIInterfaceOrientationLandscapeRight
+
+ UISupportedInterfaceOrientations~ipad
+
+ UIInterfaceOrientationPortrait
+ UIInterfaceOrientationPortraitUpsideDown
+ UIInterfaceOrientationLandscapeLeft
+ UIInterfaceOrientationLandscapeRight
+
+ XSAppIconAssets
+ Assets.xcassets/appicon.appiconset
+
+
diff --git a/mastermind/Platforms/MacCatalyst/Program.cs b/MauiSpark/Platforms/MacCatalyst/Program.cs
similarity index 96%
rename from mastermind/Platforms/MacCatalyst/Program.cs
rename to MauiSpark/Platforms/MacCatalyst/Program.cs
index e641ff3..a7baf31 100644
--- a/mastermind/Platforms/MacCatalyst/Program.cs
+++ b/MauiSpark/Platforms/MacCatalyst/Program.cs
@@ -1,16 +1,16 @@
-using ObjCRuntime;
-using UIKit;
-
-namespace mastermind
-{
- public class Program
- {
- // This is the main entry point of the application.
- static void Main(string[] args)
- {
- // if you want to use a different Application Delegate class from "AppDelegate"
- // you can specify it here.
- UIApplication.Main(args, null, typeof(AppDelegate));
- }
- }
-}
+using ObjCRuntime;
+using UIKit;
+
+namespace mastermind
+{
+ public class Program
+ {
+ // This is the main entry point of the application.
+ static void Main(string[] args)
+ {
+ // if you want to use a different Application Delegate class from "AppDelegate"
+ // you can specify it here.
+ UIApplication.Main(args, null, typeof(AppDelegate));
+ }
+ }
+}
diff --git a/mastermind/Platforms/Tizen/Main.cs b/MauiSpark/Platforms/Tizen/Main.cs
similarity index 95%
rename from mastermind/Platforms/Tizen/Main.cs
rename to MauiSpark/Platforms/Tizen/Main.cs
index 6c158cc..abd8b68 100644
--- a/mastermind/Platforms/Tizen/Main.cs
+++ b/MauiSpark/Platforms/Tizen/Main.cs
@@ -1,17 +1,17 @@
-using Microsoft.Maui;
-using Microsoft.Maui.Hosting;
-using System;
-
-namespace mastermind
-{
- internal class Program : MauiApplication
- {
- protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp();
-
- static void Main(string[] args)
- {
- var app = new Program();
- app.Run(args);
- }
- }
-}
+using Microsoft.Maui;
+using Microsoft.Maui.Hosting;
+using System;
+
+namespace mastermind
+{
+ internal class Program : MauiApplication
+ {
+ protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp();
+
+ static void Main(string[] args)
+ {
+ var app = new Program();
+ app.Run(args);
+ }
+ }
+}
diff --git a/mastermind/Platforms/Tizen/tizen-manifest.xml b/MauiSpark/Platforms/Tizen/tizen-manifest.xml
similarity index 96%
rename from mastermind/Platforms/Tizen/tizen-manifest.xml
rename to MauiSpark/Platforms/Tizen/tizen-manifest.xml
index 068259e..0eb8ad2 100644
--- a/mastermind/Platforms/Tizen/tizen-manifest.xml
+++ b/MauiSpark/Platforms/Tizen/tizen-manifest.xml
@@ -1,15 +1,15 @@
-
-
-
-
-
- maui-appicon-placeholder
-
-
-
-
- http://tizen.org/privilege/internet
-
-
-
+
+
+
+
+
+ maui-appicon-placeholder
+
+
+
+
+ http://tizen.org/privilege/internet
+
+
+
\ No newline at end of file
diff --git a/mastermind/Platforms/Windows/App.xaml b/MauiSpark/Platforms/Windows/App.xaml
similarity index 97%
rename from mastermind/Platforms/Windows/App.xaml
rename to MauiSpark/Platforms/Windows/App.xaml
index c5ae782..78b2c77 100644
--- a/mastermind/Platforms/Windows/App.xaml
+++ b/MauiSpark/Platforms/Windows/App.xaml
@@ -1,8 +1,8 @@
-
-
-
+
+
+
diff --git a/mastermind/Platforms/Windows/App.xaml.cs b/MauiSpark/Platforms/Windows/App.xaml.cs
similarity index 96%
rename from mastermind/Platforms/Windows/App.xaml.cs
rename to MauiSpark/Platforms/Windows/App.xaml.cs
index a286b97..d51d626 100644
--- a/mastermind/Platforms/Windows/App.xaml.cs
+++ b/MauiSpark/Platforms/Windows/App.xaml.cs
@@ -1,25 +1,25 @@
-using Microsoft.UI.Xaml;
-
-// To learn more about WinUI, the WinUI project structure,
-// and more about our project templates, see: http://aka.ms/winui-project-info.
-
-namespace mastermind.WinUI
-{
- ///
- /// Provides application-specific behavior to supplement the default Application class.
- ///
- public partial class App : MauiWinUIApplication
- {
- ///
- /// Initializes the singleton application object. This is the first line of authored code
- /// executed, and as such is the logical equivalent of main() or WinMain().
- ///
- public App()
- {
- this.InitializeComponent();
- }
-
- protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp();
- }
-
-}
+using Microsoft.UI.Xaml;
+
+// To learn more about WinUI, the WinUI project structure,
+// and more about our project templates, see: http://aka.ms/winui-project-info.
+
+namespace mastermind.WinUI
+{
+ ///
+ /// Provides application-specific behavior to supplement the default Application class.
+ ///
+ public partial class App : MauiWinUIApplication
+ {
+ ///
+ /// Initializes the singleton application object. This is the first line of authored code
+ /// executed, and as such is the logical equivalent of main() or WinMain().
+ ///
+ public App()
+ {
+ this.InitializeComponent();
+ }
+
+ protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp();
+ }
+
+}
diff --git a/mastermind/Platforms/Windows/Package.appxmanifest b/MauiSpark/Platforms/Windows/Package.appxmanifest
similarity index 97%
rename from mastermind/Platforms/Windows/Package.appxmanifest
rename to MauiSpark/Platforms/Windows/Package.appxmanifest
index 7dad8b5..3065afb 100644
--- a/mastermind/Platforms/Windows/Package.appxmanifest
+++ b/MauiSpark/Platforms/Windows/Package.appxmanifest
@@ -1,46 +1,46 @@
-
-
-
-
-
-
-
-
- $placeholder$
- User Name
- $placeholder$.png
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ $placeholder$
+ User Name
+ $placeholder$.png
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/mastermind/Platforms/Windows/app.manifest b/MauiSpark/Platforms/Windows/app.manifest
similarity index 97%
rename from mastermind/Platforms/Windows/app.manifest
rename to MauiSpark/Platforms/Windows/app.manifest
index ed465df..4b103f3 100644
--- a/mastermind/Platforms/Windows/app.manifest
+++ b/MauiSpark/Platforms/Windows/app.manifest
@@ -1,15 +1,15 @@
-
-
-
-
-
-
-
- true/PM
- PerMonitorV2, PerMonitor
-
-
-
+
+
+
+
+
+
+
+ true/PM
+ PerMonitorV2, PerMonitor
+
+
+
diff --git a/mastermind/Platforms/MacCatalyst/AppDelegate.cs b/MauiSpark/Platforms/iOS/AppDelegate.cs
similarity index 95%
rename from mastermind/Platforms/MacCatalyst/AppDelegate.cs
rename to MauiSpark/Platforms/iOS/AppDelegate.cs
index ca554e7..b69a836 100644
--- a/mastermind/Platforms/MacCatalyst/AppDelegate.cs
+++ b/MauiSpark/Platforms/iOS/AppDelegate.cs
@@ -1,10 +1,10 @@
-using Foundation;
-
-namespace mastermind
-{
- [Register("AppDelegate")]
- public class AppDelegate : MauiUIApplicationDelegate
- {
- protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp();
- }
-}
+using Foundation;
+
+namespace mastermind
+{
+ [Register("AppDelegate")]
+ public class AppDelegate : MauiUIApplicationDelegate
+ {
+ protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp();
+ }
+}
diff --git a/mastermind/Platforms/iOS/Info.plist b/MauiSpark/Platforms/iOS/Info.plist
similarity index 96%
rename from mastermind/Platforms/iOS/Info.plist
rename to MauiSpark/Platforms/iOS/Info.plist
index 358337b..0004a4f 100644
--- a/mastermind/Platforms/iOS/Info.plist
+++ b/MauiSpark/Platforms/iOS/Info.plist
@@ -1,32 +1,32 @@
-
-
-
-
- LSRequiresIPhoneOS
-
- UIDeviceFamily
-
- 1
- 2
-
- UIRequiredDeviceCapabilities
-
- arm64
-
- UISupportedInterfaceOrientations
-
- UIInterfaceOrientationPortrait
- UIInterfaceOrientationLandscapeLeft
- UIInterfaceOrientationLandscapeRight
-
- UISupportedInterfaceOrientations~ipad
-
- UIInterfaceOrientationPortrait
- UIInterfaceOrientationPortraitUpsideDown
- UIInterfaceOrientationLandscapeLeft
- UIInterfaceOrientationLandscapeRight
-
- XSAppIconAssets
- Assets.xcassets/appicon.appiconset
-
-
+
+
+
+
+ LSRequiresIPhoneOS
+
+ UIDeviceFamily
+
+ 1
+ 2
+
+ UIRequiredDeviceCapabilities
+
+ arm64
+
+ UISupportedInterfaceOrientations
+
+ UIInterfaceOrientationPortrait
+ UIInterfaceOrientationLandscapeLeft
+ UIInterfaceOrientationLandscapeRight
+
+ UISupportedInterfaceOrientations~ipad
+
+ UIInterfaceOrientationPortrait
+ UIInterfaceOrientationPortraitUpsideDown
+ UIInterfaceOrientationLandscapeLeft
+ UIInterfaceOrientationLandscapeRight
+
+ XSAppIconAssets
+ Assets.xcassets/appicon.appiconset
+
+
diff --git a/mastermind/Platforms/iOS/Program.cs b/MauiSpark/Platforms/iOS/Program.cs
similarity index 96%
rename from mastermind/Platforms/iOS/Program.cs
rename to MauiSpark/Platforms/iOS/Program.cs
index e641ff3..a7baf31 100644
--- a/mastermind/Platforms/iOS/Program.cs
+++ b/MauiSpark/Platforms/iOS/Program.cs
@@ -1,16 +1,16 @@
-using ObjCRuntime;
-using UIKit;
-
-namespace mastermind
-{
- public class Program
- {
- // This is the main entry point of the application.
- static void Main(string[] args)
- {
- // if you want to use a different Application Delegate class from "AppDelegate"
- // you can specify it here.
- UIApplication.Main(args, null, typeof(AppDelegate));
- }
- }
-}
+using ObjCRuntime;
+using UIKit;
+
+namespace mastermind
+{
+ public class Program
+ {
+ // This is the main entry point of the application.
+ static void Main(string[] args)
+ {
+ // if you want to use a different Application Delegate class from "AppDelegate"
+ // you can specify it here.
+ UIApplication.Main(args, null, typeof(AppDelegate));
+ }
+ }
+}
diff --git a/mastermind/Properties/launchSettings.json b/MauiSpark/Properties/launchSettings.json
similarity index 93%
rename from mastermind/Properties/launchSettings.json
rename to MauiSpark/Properties/launchSettings.json
index c16206a..edf8aad 100644
--- a/mastermind/Properties/launchSettings.json
+++ b/MauiSpark/Properties/launchSettings.json
@@ -1,8 +1,8 @@
-{
- "profiles": {
- "Windows Machine": {
- "commandName": "MsixPackage",
- "nativeDebugging": false
- }
- }
+{
+ "profiles": {
+ "Windows Machine": {
+ "commandName": "MsixPackage",
+ "nativeDebugging": false
+ }
+ }
}
\ No newline at end of file
diff --git a/mastermind/Resources/AppIcon/appicon.svg b/MauiSpark/Resources/AppIcon/appicon.svg
similarity index 96%
rename from mastermind/Resources/AppIcon/appicon.svg
rename to MauiSpark/Resources/AppIcon/appicon.svg
index 5f04fcf..9d63b65 100644
--- a/mastermind/Resources/AppIcon/appicon.svg
+++ b/MauiSpark/Resources/AppIcon/appicon.svg
@@ -1,4 +1,4 @@
-
-