@ -0,0 +1,7 @@
|
||||
using CoreLibrary;
|
||||
|
||||
|
||||
JetonIndicateur ji1 = new JetonIndicateur(Couleur.Noir);
|
||||
Console.WriteLine(ji1.Couleur);
|
||||
Jeton j1 = new JetonIndicateur(Couleur.Blanc);
|
||||
Console.WriteLine(j1.Couleur);
|
@ -1,43 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<Shell
|
||||
x:Class="mastermind.AppShell"
|
||||
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||
xmlns:local="clr-namespace:mastermind"
|
||||
xmlns:pages="clr-namespace:mastermind.Pages"
|
||||
Shell.NavBarIsVisible="False"
|
||||
Shell.FlyoutBehavior="Flyout"
|
||||
Title="mastermind">
|
||||
|
||||
|
||||
<ShellContent
|
||||
Title="TableauScore"
|
||||
ContentTemplate="{DataTemplate pages:TableauScore}"
|
||||
Route="Pages.TableauScore" />
|
||||
<ShellContent
|
||||
Title="Regle"
|
||||
ContentTemplate="{DataTemplate pages:Regle}"
|
||||
Route="Pages.Regle" />
|
||||
<ShellContent
|
||||
Title="Defaite"
|
||||
ContentTemplate="{DataTemplate pages:Defaite}"
|
||||
Route="Pages.Defaite" />
|
||||
<ShellContent
|
||||
Title="Egaliter"
|
||||
ContentTemplate="{DataTemplate pages:Egaliter}"
|
||||
Route="Pages.Egaliter" />
|
||||
<ShellContent
|
||||
Title="Victoire"
|
||||
ContentTemplate="{DataTemplate pages:Victoire}"
|
||||
Route="Pages.Victoire" />
|
||||
|
||||
<ShellContent
|
||||
Title="Accueil"
|
||||
ContentTemplate="{DataTemplate pages:Accueil}"
|
||||
Route="pages:Accueil" />
|
||||
|
||||
<ShellContent
|
||||
Title="Connexion"
|
||||
ContentTemplate="{DataTemplate pages:ConnexionPage}" />
|
||||
|
||||
</Shell>
|
@ -1,8 +1,8 @@
|
||||
<?xml version = "1.0" encoding = "UTF-8" ?>
|
||||
<Application xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||
xmlns:local="clr-namespace:mastermind"
|
||||
x:Class="mastermind.App">
|
||||
xmlns:local="clr-namespace:MauiSpark"
|
||||
x:Class="MauiSpark.App">
|
||||
<Application.Resources>
|
||||
<ResourceDictionary>
|
||||
<ResourceDictionary.MergedDictionaries>
|
@ -0,0 +1,40 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<Shell
|
||||
x:Class="MauiSpark.AppShell"
|
||||
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||
xmlns:local="clr-namespace:MauiSpark"
|
||||
xmlns:pages="clr-namespace:MauiSpark.Pages"
|
||||
Shell.NavBarIsVisible="False"
|
||||
Shell.FlyoutBehavior="Flyout"
|
||||
Title="Mastermind">
|
||||
|
||||
<ShellContent
|
||||
Title="Accueil"
|
||||
ContentTemplate="{DataTemplate pages:Accueil}" />
|
||||
|
||||
<ShellContent
|
||||
Title="Connexion"
|
||||
ContentTemplate="{DataTemplate pages:ConnexionPage}" />
|
||||
|
||||
<ShellContent
|
||||
Title="TableauScore"
|
||||
ContentTemplate="{DataTemplate pages:TableauScore}" />
|
||||
|
||||
<ShellContent
|
||||
Title="Regle"
|
||||
ContentTemplate="{DataTemplate pages:Regle}" />
|
||||
|
||||
<ShellContent
|
||||
Title="Victoire"
|
||||
ContentTemplate="{DataTemplate pages:Victoire}" />
|
||||
|
||||
<ShellContent
|
||||
Title="Defaite"
|
||||
ContentTemplate="{DataTemplate pages:Defaite}" />
|
||||
|
||||
<ShellContent
|
||||
Title="Egaliter"
|
||||
ContentTemplate="{DataTemplate pages:Egaliter}" />
|
||||
|
||||
</Shell>
|
@ -1,6 +1,6 @@
|
||||
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||
x:Class="mastermind.Pages.Accueil"
|
||||
x:Class="MauiSpark.Pages.Accueil"
|
||||
Title="Accueil">
|
||||
|
||||
<Grid
|
@ -1,4 +1,4 @@
|
||||
namespace mastermind.Pages;
|
||||
namespace MauiSpark.Pages;
|
||||
|
||||
public partial class Accueil : ContentPage
|
||||
{
|
@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||
xmlns:Views="clr-namespace:mastermind.Views"
|
||||
x:Class="mastermind.Pages.ConnexionPage"
|
||||
xmlns:Views="clr-namespace:MauiSpark.Views"
|
||||
x:Class="MauiSpark.Pages.ConnexionPage"
|
||||
Title="Connexion">
|
||||
<Grid
|
||||
ColumnDefinitions="*"
|
@ -1,4 +1,4 @@
|
||||
namespace mastermind.Pages;
|
||||
namespace MauiSpark.Pages;
|
||||
|
||||
public partial class ConnexionPage : ContentPage
|
||||
{
|
@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||
x:Class="mastermind.Pages.Defaite"
|
||||
xmlns:pages="clr-namespace:mastermind.Pages"
|
||||
x:Class="MauiSpark.Pages.Defaite"
|
||||
xmlns:pages="clr-namespace:MauiSpark.Pages"
|
||||
Title="Defaite">
|
||||
<VerticalStackLayout >
|
||||
<FlexLayout Direction="Row" JustifyContent="SpaceAround" AlignContent="Center" VerticalOptions="Center" Margin="10">
|
@ -1,4 +1,4 @@
|
||||
namespace mastermind.Pages;
|
||||
namespace MauiSpark.Pages;
|
||||
|
||||
public partial class Defaite : ContentPage
|
||||
{
|
@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||
x:Class="mastermind.Pages.Egaliter"
|
||||
xmlns:pages="clr-namespace:mastermind.Pages"
|
||||
x:Class="MauiSpark.Pages.Egaliter"
|
||||
xmlns:pages="clr-namespace:MauiSpark.Pages"
|
||||
Title="Egaliter">
|
||||
<VerticalStackLayout>
|
||||
<FlexLayout Direction="Row" JustifyContent="SpaceAround" AlignContent="Center" VerticalOptions="Center" Margin="10">
|
@ -1,4 +1,4 @@
|
||||
namespace mastermind.Pages;
|
||||
namespace MauiSpark.Pages;
|
||||
|
||||
public partial class Egaliter : ContentPage
|
||||
{
|
@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||
x:Class="mastermind.Pages.Regle"
|
||||
xmlns:pages="clr-namespace:mastermind.Pages"
|
||||
x:Class="MauiSpark.Pages.Regle"
|
||||
xmlns:pages="clr-namespace:MauiSpark.Pages"
|
||||
Title="Regle">
|
||||
<ScrollView>
|
||||
<VerticalStackLayout>
|
@ -1,4 +1,4 @@
|
||||
namespace mastermind.Pages;
|
||||
namespace MauiSpark.Pages;
|
||||
|
||||
public partial class Regle : ContentPage
|
||||
{
|
@ -1,9 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||
xmlns:pages="clr-namespace:mastermind.Pages"
|
||||
xmlns:views="clr-namespace:mastermind.Views"
|
||||
x:Class="mastermind.Pages.TableauScore"
|
||||
xmlns:pages="clr-namespace:MauiSpark.Pages"
|
||||
xmlns:views="clr-namespace:MauiSpark.Views"
|
||||
x:Class="MauiSpark.Pages.TableauScore"
|
||||
Title="TableauScore">
|
||||
<ScrollView>
|
||||
<VerticalStackLayout>
|
@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||
x:Class="mastermind.Pages.Victoire"
|
||||
xmlns:pages="clr-namespace:mastermind.Pages"
|
||||
x:Class="MauiSpark.Pages.Victoire"
|
||||
xmlns:pages="clr-namespace:MauiSpark.Pages"
|
||||
Title="Victoire">
|
||||
<VerticalStackLayout>
|
||||
<FlexLayout Direction="Row" JustifyContent="SpaceAround" AlignContent="Center" VerticalOptions="Center" Margin="10">
|
@ -1,4 +1,4 @@
|
||||
namespace mastermind.Pages;
|
||||
namespace MauiSpark.Pages;
|
||||
|
||||
public partial class Victoire : ContentPage
|
||||
{
|
@ -1,4 +1,4 @@
|
||||
namespace mastermind.Pages;
|
||||
namespace MauiSpark.Pages;
|
||||
|
||||
public partial class TableauScore : ContentPage
|
||||
{
|
@ -1,8 +1,8 @@
|
||||
<maui:MauiWinUIApplication
|
||||
x:Class="mastermind.WinUI.App"
|
||||
x:Class="MauiSpark.WinUI.App"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:maui="using:Microsoft.Maui"
|
||||
xmlns:local="using:mastermind.WinUI">
|
||||
xmlns:local="using:MauiSpark.WinUI">
|
||||
|
||||
</maui:MauiWinUIApplication>
|
@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<assemblyIdentity version="1.0.0.0" name="mastermind.WinUI.app"/>
|
||||
<assemblyIdentity version="1.0.0.0" name="MauiSpark.WinUI.app"/>
|
||||
|
||||
<application xmlns="urn:schemas-microsoft-com:asm.v3">
|
||||
<windowsSettings>
|
Before Width: | Height: | Size: 231 B After Width: | Height: | Size: 231 B |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 44 KiB After Width: | Height: | Size: 44 KiB |
After Width: | Height: | Size: 68 KiB |
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 4.4 KiB |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 50 KiB After Width: | Height: | Size: 50 KiB |
Before Width: | Height: | Size: 265 KiB After Width: | Height: | Size: 265 KiB |
Before Width: | Height: | Size: 100 KiB After Width: | Height: | Size: 100 KiB |
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 42 KiB After Width: | Height: | Size: 42 KiB |
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 3.0 MiB After Width: | Height: | Size: 3.0 MiB |
Before Width: | Height: | Size: 1.7 MiB After Width: | Height: | Size: 1.7 MiB |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<ContentView xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||
x:Class="mastermind.Views.CTableauScore">
|
||||
x:Class="MauiSpark.Views.CTableauScore">
|
||||
|
||||
<Frame CornerRadius="5" Padding="0" VerticalOptions="Start" Margin="20,0,20,10" >
|
||||
<Grid ColumnDefinitions="auto,*,auto,auto" ColumnSpacing="10">
|
@ -1,4 +1,4 @@
|
||||
namespace mastermind.Views;
|
||||
namespace MauiSpark.Views;
|
||||
|
||||
public partial class CTableauScore : ContentView
|
||||
{
|
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<ContentView xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||
x:Class="mastermind.Views.UsernameEntryView">
|
||||
x:Class="MauiSpark.Views.UsernameEntryView">
|
||||
|
||||
<Grid
|
||||
Margin="0, 50"
|
@ -1,4 +1,4 @@
|
||||
namespace mastermind.Views;
|
||||
namespace MauiSpark.Views;
|
||||
|
||||
public partial class UsernameEntryView : ContentView
|
||||
{
|