commit
21fad430ac
@ -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 +1,40 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" ?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
<Shell
|
<Shell
|
||||||
x:Class="mastermind.AppShell"
|
x:Class="MauiSpark.AppShell"
|
||||||
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||||
xmlns:local="clr-namespace:MauiSpark"
|
xmlns:local="clr-namespace:MauiSpark"
|
||||||
xmlns:pages="clr-namespace:MauiSpark.Pages"
|
xmlns:pages="clr-namespace:MauiSpark.Pages"
|
||||||
Shell.NavBarIsVisible="False"
|
Shell.NavBarIsVisible="False"
|
||||||
Shell.FlyoutBehavior="Flyout"
|
Shell.FlyoutBehavior="Flyout"
|
||||||
Title="mastermind">
|
Title="Mastermind">
|
||||||
|
|
||||||
|
<ShellContent
|
||||||
|
Title="Accueil"
|
||||||
|
ContentTemplate="{DataTemplate pages:Accueil}" />
|
||||||
|
|
||||||
|
<ShellContent
|
||||||
|
Title="Connexion"
|
||||||
|
ContentTemplate="{DataTemplate pages:ConnexionPage}" />
|
||||||
|
|
||||||
<ShellContent
|
<ShellContent
|
||||||
Title="TableauScore"
|
Title="TableauScore"
|
||||||
ContentTemplate="{DataTemplate pages:TableauScore}"
|
ContentTemplate="{DataTemplate pages:TableauScore}" />
|
||||||
Route="Pages.TableauScore" />
|
|
||||||
<ShellContent
|
<ShellContent
|
||||||
Title="Regle"
|
Title="Regle"
|
||||||
ContentTemplate="{DataTemplate pages: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
|
<ShellContent
|
||||||
Title="Victoire"
|
Title="Victoire"
|
||||||
ContentTemplate="{DataTemplate pages:Victoire}"
|
ContentTemplate="{DataTemplate pages:Victoire}" />
|
||||||
Route="Pages.Victoire" />
|
|
||||||
|
|
||||||
<ShellContent
|
<ShellContent
|
||||||
Title="Accueil"
|
Title="Defaite"
|
||||||
ContentTemplate="{DataTemplate pages:Accueil}"
|
ContentTemplate="{DataTemplate pages:Defaite}" />
|
||||||
Route="pages:Accueil" />
|
|
||||||
|
|
||||||
<ShellContent
|
<ShellContent
|
||||||
Title="Connexion"
|
Title="Egalite"
|
||||||
ContentTemplate="{DataTemplate pages:ConnexionPage}" />
|
ContentTemplate="{DataTemplate pages:Egalite}" />
|
||||||
|
|
||||||
</Shell>
|
</Shell>
|
||||||
|
@ -0,0 +1,42 @@
|
|||||||
|
<<<<<<<< HEAD:MauiSpark/Pages/Egaliter.xaml
|
||||||
|
<?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"
|
||||||
|
Title="Egaliter">
|
||||||
|
<VerticalStackLayout>
|
||||||
|
<FlexLayout Direction="Row" JustifyContent="SpaceAround" AlignContent="Center" VerticalOptions="Center" Margin="10">
|
||||||
|
<Image Source="egaliter.jpg" MaximumHeightRequest="100" MaximumWidthRequest="100" />
|
||||||
|
<Frame HorizontalOptions="Center" VerticalOptions="Center" Style="{StaticResource FrameTitrePage}">
|
||||||
|
<Label Text="Egaliter" Style="{StaticResource TexteTitre}"/>
|
||||||
|
</Frame>
|
||||||
|
<Image Source="egaliter.jpg" MaximumHeightRequest="100" MaximumWidthRequest="100"/>
|
||||||
|
</FlexLayout>
|
||||||
|
<Frame Margin="20">
|
||||||
|
<Label HorizontalOptions="Center" Text="Les deux joueur ont trouvé en même temps" Style="{StaticResource TexteFrame}"/>
|
||||||
|
</Frame>
|
||||||
|
<Button Text="Menu" VerticalOptions="End" HorizontalOptions="Center"></Button>
|
||||||
|
</VerticalStackLayout>
|
||||||
|
========
|
||||||
|
<?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="MauiSpark.Pages.Egalite"
|
||||||
|
xmlns:pages="clr-namespace:MauiSpark.Pages"
|
||||||
|
Title="Egalite">
|
||||||
|
<VerticalStackLayout>
|
||||||
|
<FlexLayout Direction="Row" JustifyContent="SpaceAround" AlignContent="Center" VerticalOptions="Center" Margin="10">
|
||||||
|
<Image Source="egaliter.jpg" MaximumHeightRequest="100" MaximumWidthRequest="100" />
|
||||||
|
<Frame HorizontalOptions="Center" VerticalOptions="Center" Style="{StaticResource FrameTitrePage}">
|
||||||
|
<Label Text="Egaliter" Style="{StaticResource TexteTitre}"/>
|
||||||
|
</Frame>
|
||||||
|
<Image Source="egaliter.jpg" MaximumHeightRequest="100" MaximumWidthRequest="100"/>
|
||||||
|
</FlexLayout>
|
||||||
|
<Frame Margin="20">
|
||||||
|
<Label HorizontalOptions="Center" Text="Les deux joueur ont trouvé en même temps" Style="{StaticResource TexteFrame}"/>
|
||||||
|
</Frame>
|
||||||
|
<Button Text="Menu" VerticalOptions="End" HorizontalOptions="Center"></Button>
|
||||||
|
</VerticalStackLayout>
|
||||||
|
>>>>>>>> master:MauiSpark/Pages/Egalite.xaml
|
||||||
|
</ContentPage>
|
@ -0,0 +1,9 @@
|
|||||||
|
namespace MauiSpark.Pages;
|
||||||
|
|
||||||
|
public partial class Egalite : ContentPage
|
||||||
|
{
|
||||||
|
public Egalite()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
}
|
||||||
|
}
|
@ -1,20 +0,0 @@
|
|||||||
<?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"
|
|
||||||
Title="Egaliter">
|
|
||||||
<VerticalStackLayout>
|
|
||||||
<FlexLayout Direction="Row" JustifyContent="SpaceAround" AlignContent="Center" VerticalOptions="Center" Margin="10">
|
|
||||||
<Image Source="egaliter.jpg" MaximumHeightRequest="100" MaximumWidthRequest="100" />
|
|
||||||
<Frame HorizontalOptions="Center" VerticalOptions="Center" Style="{StaticResource FrameTitrePage}">
|
|
||||||
<Label Text="Egaliter" Style="{StaticResource TexteTitre}"/>
|
|
||||||
</Frame>
|
|
||||||
<Image Source="egaliter.jpg" MaximumHeightRequest="100" MaximumWidthRequest="100"/>
|
|
||||||
</FlexLayout>
|
|
||||||
<Frame Margin="20">
|
|
||||||
<Label HorizontalOptions="Center" Text="Les deux joueur ont trouvé en même temps" Style="{StaticResource TexteFrame}"/>
|
|
||||||
</Frame>
|
|
||||||
<Button Text="Menu" VerticalOptions="End" HorizontalOptions="Center"></Button>
|
|
||||||
</VerticalStackLayout>
|
|
||||||
</ContentPage>
|
|
@ -1,9 +0,0 @@
|
|||||||
namespace mastermind.Pages;
|
|
||||||
|
|
||||||
public partial class Egaliter : ContentPage
|
|
||||||
{
|
|
||||||
public Egaliter()
|
|
||||||
{
|
|
||||||
InitializeComponent();
|
|
||||||
}
|
|
||||||
}
|
|
@ -0,0 +1,20 @@
|
|||||||
|
<<<<<<<< HEAD:MauiSpark/Pages/tableauScore.xaml.cs
|
||||||
|
namespace mastermind.Pages;
|
||||||
|
|
||||||
|
public partial class TableauScore : ContentPage
|
||||||
|
{
|
||||||
|
public TableauScore()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
}
|
||||||
|
========
|
||||||
|
namespace MauiSpark.Pages;
|
||||||
|
|
||||||
|
public partial class TableauScore : ContentPage
|
||||||
|
{
|
||||||
|
public TableauScore()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
}
|
||||||
|
>>>>>>>> master:MauiSpark/Pages/TableauScore.xaml.cs
|
||||||
|
}
|
@ -1,9 +0,0 @@
|
|||||||
namespace mastermind.Pages;
|
|
||||||
|
|
||||||
public partial class TableauScore : ContentPage
|
|
||||||
{
|
|
||||||
public TableauScore()
|
|
||||||
{
|
|
||||||
InitializeComponent();
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,8 +1,8 @@
|
|||||||
<maui:MauiWinUIApplication
|
<maui:MauiWinUIApplication
|
||||||
x:Class="mastermind.WinUI.App"
|
x:Class="MauiSpark.WinUI.App"
|
||||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
xmlns:maui="using:Microsoft.Maui"
|
xmlns:maui="using:Microsoft.Maui"
|
||||||
xmlns:local="using:mastermind.WinUI">
|
xmlns:local="using:MauiSpark.WinUI">
|
||||||
|
|
||||||
</maui:MauiWinUIApplication>
|
</maui:MauiWinUIApplication>
|
||||||
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in new issue