@ -0,0 +1,20 @@
|
|||||||
|
<?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"
|
||||||
|
Title="Defaite">
|
||||||
|
<VerticalStackLayout >
|
||||||
|
<FlexLayout Direction="Row" JustifyContent="SpaceAround" AlignContent="Center" VerticalOptions="Center" Margin="10">
|
||||||
|
<Image Source="defaite.png" MaximumHeightRequest="100" MaximumWidthRequest="100" />
|
||||||
|
<Frame BackgroundColor="Black" HorizontalOptions="Center" VerticalOptions="Center">
|
||||||
|
<Label Text="Defaite" TextColor="White" FontSize="Large" HorizontalOptions="Center"></Label>
|
||||||
|
</Frame>
|
||||||
|
<Image Source="defaite.png" MaximumHeightRequest="100" MaximumWidthRequest="100"/>
|
||||||
|
</FlexLayout>
|
||||||
|
<Frame BackgroundColor="Grey" Margin="20">
|
||||||
|
<Label HorizontalOptions="Center" Text="Aucun des deux joueurs, Joueur 1 et Joueur 2 n'a trouvé le code secret"/>
|
||||||
|
</Frame>
|
||||||
|
<Button Text="Menu" VerticalOptions="End" HorizontalOptions="Center"></Button>
|
||||||
|
</VerticalStackLayout>
|
||||||
|
</ContentPage>
|
@ -0,0 +1,9 @@
|
|||||||
|
namespace mastermind.Pages;
|
||||||
|
|
||||||
|
public partial class Defaite : ContentPage
|
||||||
|
{
|
||||||
|
public Defaite()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,20 @@
|
|||||||
|
<?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 BackgroundColor="Black" HorizontalOptions="Center" VerticalOptions="Center">
|
||||||
|
<Label Text="Egaliter" TextColor="White" FontSize="Large" HorizontalOptions="Center"></Label>
|
||||||
|
</Frame>
|
||||||
|
<Image Source="egaliter.jpg" MaximumHeightRequest="100" MaximumWidthRequest="100"/>
|
||||||
|
</FlexLayout>
|
||||||
|
<Frame BackgroundColor="Grey" Margin="20">
|
||||||
|
<Label HorizontalOptions="Center" Text="Les deux joueur ont trouvé en même temps"/>
|
||||||
|
</Frame>
|
||||||
|
<Button Text="Menu" VerticalOptions="End" HorizontalOptions="Center"></Button>
|
||||||
|
</VerticalStackLayout>
|
||||||
|
</ContentPage>
|
@ -0,0 +1,9 @@
|
|||||||
|
namespace mastermind.Pages;
|
||||||
|
|
||||||
|
public partial class Egaliter : ContentPage
|
||||||
|
{
|
||||||
|
public Egaliter()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,9 @@
|
|||||||
|
namespace mastermind.Pages;
|
||||||
|
|
||||||
|
public partial class Regle : ContentPage
|
||||||
|
{
|
||||||
|
public Regle()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,44 @@
|
|||||||
|
<?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"
|
||||||
|
Title="TableauScore"
|
||||||
|
BackgroundImageSource="wood.jpg">
|
||||||
|
<ScrollView>
|
||||||
|
<VerticalStackLayout>
|
||||||
|
<FlexLayout Direction="Row" JustifyContent="SpaceAround" AlignContent="Center" VerticalOptions="Center" >
|
||||||
|
<Image Source="star.png" WidthRequest="100" HorizontalOptions="End" VerticalOptions="Center" Margin="0,24,0,0"/>
|
||||||
|
<Frame BorderColor="Black" CornerRadius="5" BackgroundColor="Black" Margin="10" HorizontalOptions="Center" VerticalOptions="Center" >
|
||||||
|
<Label Text="Scoreboard" HorizontalOptions="Center" FontSize="75" VerticalOptions="Start" Margin="0,10,0,10" TextColor="White" />
|
||||||
|
</Frame>
|
||||||
|
<Grid RowDefinitions="auto,auto">
|
||||||
|
<ImageButton Grid.Row="0" Style="{StaticResource ButtonFermeture}"/>
|
||||||
|
<Image Grid.Row="1" Source="star.png" WidthRequest="100" HorizontalOptions="Start" VerticalOptions="Center" Margin="10"/>
|
||||||
|
</Grid>
|
||||||
|
</FlexLayout>
|
||||||
|
<Frame Margin="5" BorderColor="Black">
|
||||||
|
<Grid ColumnDefinitions="auto,*,auto,auto" ColumnSpacing="10">
|
||||||
|
<Button Margin="0,5,5,5" Grid.Column="0" Text="RANK" Style="{StaticResource ButtonTableau}"></Button>
|
||||||
|
<Button Margin="5" Grid.Column="1" Text="PSEUDO" Style="{StaticResource ButtonTableau}" HorizontalOptions="Start" ></Button>
|
||||||
|
<Button Margin="5" Grid.Column="2" Text="Nombre de coût Moyen" Style="{StaticResource ButtonTableau}"></Button>
|
||||||
|
<Button Margin="5" Grid.Column="3" Text="POINT" Style="{StaticResource ButtonTableau}"></Button>
|
||||||
|
</Grid>
|
||||||
|
</Frame>
|
||||||
|
<views:CTableauScore/>
|
||||||
|
<views:CTableauScore/>
|
||||||
|
<views:CTableauScore/>
|
||||||
|
<views:CTableauScore/>
|
||||||
|
<views:CTableauScore/>
|
||||||
|
<views:CTableauScore/>
|
||||||
|
<views:CTableauScore/>
|
||||||
|
<views:CTableauScore/>
|
||||||
|
<views:CTableauScore/>
|
||||||
|
<views:CTableauScore/>
|
||||||
|
<views:CTableauScore/>
|
||||||
|
<views:CTableauScore/>
|
||||||
|
</VerticalStackLayout>
|
||||||
|
</ScrollView>
|
||||||
|
|
||||||
|
</ContentPage>
|
@ -0,0 +1,20 @@
|
|||||||
|
<?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"
|
||||||
|
Title="Victoire">
|
||||||
|
<VerticalStackLayout>
|
||||||
|
<FlexLayout Direction="Row" JustifyContent="SpaceAround" AlignContent="Center" VerticalOptions="Center" Margin="10">
|
||||||
|
<Image Source="trophy.jpg" MaximumHeightRequest="100" MaximumWidthRequest="100" />
|
||||||
|
<Frame BackgroundColor="Black" HorizontalOptions="Center" VerticalOptions="Center">
|
||||||
|
<Label Text="Victoire" TextColor="White" FontSize="Large" HorizontalOptions="Center"></Label>
|
||||||
|
</Frame>
|
||||||
|
<Image Source="trophy.jpg" MaximumHeightRequest="100" MaximumWidthRequest="100"/>
|
||||||
|
</FlexLayout>
|
||||||
|
<Frame BackgroundColor="Grey" Margin="20" >
|
||||||
|
<Label HorizontalOptions="Center" Text="Le joueur x a gagné"/>
|
||||||
|
</Frame>
|
||||||
|
<Button Text="Menu" VerticalOptions="End" HorizontalOptions="Center"></Button>
|
||||||
|
</VerticalStackLayout>
|
||||||
|
</ContentPage>
|
@ -0,0 +1,9 @@
|
|||||||
|
namespace mastermind.Pages;
|
||||||
|
|
||||||
|
public partial class Victoire : ContentPage
|
||||||
|
{
|
||||||
|
public Victoire()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,9 @@
|
|||||||
|
namespace mastermind.Pages;
|
||||||
|
|
||||||
|
public partial class TableauScore : ContentPage
|
||||||
|
{
|
||||||
|
public TableauScore()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
}
|
||||||
|
}
|
After Width: | Height: | Size: 44 KiB |
After Width: | Height: | Size: 4.4 KiB |
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 50 KiB |
After Width: | Height: | Size: 265 KiB |
After Width: | Height: | Size: 100 KiB |
After Width: | Height: | Size: 42 KiB |
After Width: | Height: | Size: 3.0 MiB |
After Width: | Height: | Size: 1.7 MiB |
@ -0,0 +1,14 @@
|
|||||||
|
<?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">
|
||||||
|
|
||||||
|
<Frame BorderColor="Black" CornerRadius="5" Padding="0" BackgroundColor="Gray" VerticalOptions="Start" Margin="5" >
|
||||||
|
<Grid ColumnDefinitions="auto,*,auto,auto" ColumnSpacing="10">
|
||||||
|
<Label Grid.Column="0" Text="N°1" Margin="20" />
|
||||||
|
<Label Grid.Column="1" Text="Joueur 1" Margin="20" />
|
||||||
|
<Label Grid.Column="2" Text="5" Margin="20" />
|
||||||
|
<Label Grid.Column="3" Text="10000" Margin="20" />
|
||||||
|
</Grid>
|
||||||
|
</Frame>
|
||||||
|
</ContentView>
|
@ -0,0 +1,9 @@
|
|||||||
|
namespace mastermind.Views;
|
||||||
|
|
||||||
|
public partial class CTableauScore : ContentView
|
||||||
|
{
|
||||||
|
public CTableauScore()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
}
|
||||||
|
}
|