After Width: | Height: | Size: 9.5 KiB |
After Width: | Height: | Size: 22 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 16 KiB |
After Width: | Height: | Size: 16 KiB |
After Width: | Height: | Size: 48 KiB |
After Width: | Height: | Size: 71 KiB |
After Width: | Height: | Size: 9.5 KiB |
After Width: | Height: | Size: 22 KiB |
After Width: | Height: | Size: 16 KiB |
After Width: | Height: | Size: 16 KiB |
@ -1,13 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<ContentView xmlns="http://xamarin.com/schemas/2014/forms"
|
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
|
||||||
xmlns:d="http://xamarin.com/schemas/2014/forms/design"
|
|
||||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
||||||
mc:Ignorable="d"
|
|
||||||
x:Class="TheGameExtreme.Rules">
|
|
||||||
<ContentView.Content>
|
|
||||||
<StackLayout>
|
|
||||||
<Label Text="Hello Xamarin.Forms!" />
|
|
||||||
</StackLayout>
|
|
||||||
</ContentView.Content>
|
|
||||||
</ContentView>
|
|
@ -0,0 +1,74 @@
|
|||||||
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<TargetFramework>netstandard2.0</TargetFramework>
|
||||||
|
<ProduceReferenceAssembly>true</ProduceReferenceAssembly>
|
||||||
|
<SynchReleaseVersion>false</SynchReleaseVersion>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<<<<<<< HEAD
|
||||||
|
<PackageReference Include="Xamarin.Forms" Version="4.3.0.991211" />
|
||||||
|
=======
|
||||||
|
<PackageReference Include="Xamarin.Forms" Version="4.3.0.947036" />
|
||||||
|
>>>>>>> master
|
||||||
|
<PackageReference Include="Xamarin.Essentials" Version="1.3.1" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Folder Include="model\event\" />
|
||||||
|
<Folder Include="viewmodel\" />
|
||||||
|
<Folder Include="model\card\" />
|
||||||
|
<Folder Include="model\deck\" />
|
||||||
|
<Folder Include="model\Card\rapidCard\" />
|
||||||
|
<Folder Include="model\gameActions\" />
|
||||||
|
<Folder Include="model\gameActions\extreme\" />
|
||||||
|
<Folder Include="model\gameActions\classic\" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Compile Remove="model\effect\StopColm.cs" />
|
||||||
|
<Compile Remove="model\effect\StopCom.cs" />
|
||||||
|
<Compile Remove="model\manager.cs" />
|
||||||
|
<Compile Remove="model\manager\GameManagerSolo.cs" />
|
||||||
|
<Compile Remove="view\AppRessources-br.Designer.cs" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<None Remove="AppRessources.config" />
|
||||||
|
<None Remove="view\Image\thegame.jpg" />
|
||||||
|
<None Remove="view\MultiPlayerMode.xaml" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<EmbeddedResource Include="view\Image\thegame.jpg" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<EmbeddedResource Update="Rules.xaml">
|
||||||
|
<Generator>MSBuild:UpdateDesignTimeXaml</Generator>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Condition=" '$(EnableDefaultEmbeddedResourceItems)' == 'true' " Update="AppRessource.resx">
|
||||||
|
<Generator>ResXFileCodeGenerator</Generator>
|
||||||
|
<LastGenOutput>AppRessource.Designer.cs</LastGenOutput>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Condition=" '$(EnableDefaultEmbeddedResourceItems)' == 'true' " Update="AppRessources-br.resx">
|
||||||
|
<Generator>ResXFileCodeGenerator</Generator>
|
||||||
|
<LastGenOutput>AppRessources-br.Designer.cs</LastGenOutput>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<<<<<<< HEAD
|
||||||
|
=======
|
||||||
|
<EmbeddedResource Update="DictionnaireBGCBLACK.xaml">
|
||||||
|
<Generator>MSBuild:UpdateDesignTimeXaml</Generator>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Update="DictionnaireBGCWhite.xaml">
|
||||||
|
<Generator>MSBuild:UpdateDesignTimeXaml</Generator>
|
||||||
|
</EmbeddedResource>
|
||||||
|
>>>>>>> master
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Compile Condition=" '$(EnableDefaultCompileItems)' == 'true' " Update="AppRessource.Designer.cs">
|
||||||
|
<DesignTime>True</DesignTime>
|
||||||
|
<AutoGen>True</AutoGen>
|
||||||
|
<DependentUpon>AppRessource.resx</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Update="AppRessources-br.Designer.cs">
|
||||||
|
<DependentUpon>AppRessources-br.resx</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
</ItemGroup>
|
||||||
|
</Project>
|
@ -1,5 +1,13 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Application xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:d="http://xamarin.com/schemas/2014/forms/design" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" x:Class="TheGameExtreme.App">
|
<Application xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:d="http://xamarin.com/schemas/2014/forms/design" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" x:Class="TheGameExtreme.App">
|
||||||
<Application.Resources>
|
<Application.Resources>
|
||||||
|
<ResourceDictionary>
|
||||||
|
|
||||||
|
<Color x:Key="BlackColor">black</Color>
|
||||||
|
<Color x:Key="WhiteColor">white</Color>
|
||||||
|
<Color x:Key="SkyBlueColor">SkyBlue</Color>
|
||||||
|
|
||||||
|
|
||||||
|
</ResourceDictionary>
|
||||||
</Application.Resources>
|
</Application.Resources>
|
||||||
</Application>
|
</Application>
|
@ -1,15 +1,58 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
|
||||||
<ContentPage
|
<ContentPage BackgroundColor="{DynamicResource BlackColor}"
|
||||||
xmlns="http://xamarin.com/schemas/2014/forms"
|
xmlns="http://xamarin.com/schemas/2014/forms"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||||
x:Class="TheGameExtreme.view.MultiPlayerMode">
|
x:Class="TheGameExtreme.view.MultiPlayerMode">
|
||||||
|
|
||||||
<StackLayout>
|
<Grid>
|
||||||
|
<Grid.RowDefinitions>
|
||||||
|
<RowDefinition Height="*"/>
|
||||||
|
<RowDefinition Height="*"/>
|
||||||
|
<RowDefinition Height="*"/>
|
||||||
|
</Grid.RowDefinitions>
|
||||||
|
<Grid.ColumnDefinitions>
|
||||||
|
<ColumnDefinition Width="*"/>
|
||||||
|
<ColumnDefinition Width="*"/>
|
||||||
|
<ColumnDefinition Width="*"/>
|
||||||
|
</Grid.ColumnDefinitions>
|
||||||
|
|
||||||
<Button Text="Connexion Bluetooth" Margin="60"/>
|
<ImageButton Source="ArrowSettingsBack.png"
|
||||||
<Button Text="Connexion Wifi" />
|
Margin="15,15,0,0"
|
||||||
|
Clicked="BackMulti_Clicked"
|
||||||
|
BackgroundColor="Transparent"
|
||||||
|
VerticalOptions="StartAndExpand"
|
||||||
|
HorizontalOptions="Start"
|
||||||
|
HeightRequest="50"
|
||||||
|
WidthRequest="58"
|
||||||
|
Grid.Column="0" Grid.Row="0"/>
|
||||||
|
|
||||||
</StackLayout>
|
<Label Text="Multijoueur" TextColor="{DynamicResource WhiteColor}"
|
||||||
|
FontSize="28"
|
||||||
|
VerticalTextAlignment="Center"
|
||||||
|
HorizontalTextAlignment="Center"
|
||||||
|
Grid.Column="1" Grid.Row="0"/>
|
||||||
|
|
||||||
|
<Button Text="Connexion Bluetooth"
|
||||||
|
Grid.Row="1"
|
||||||
|
Grid.Column="1"
|
||||||
|
WidthRequest="230"
|
||||||
|
HeightRequest="57"
|
||||||
|
VerticalOptions="Center"
|
||||||
|
HorizontalOptions="Center"
|
||||||
|
CornerRadius="10"
|
||||||
|
BackgroundColor="{DynamicResource SkyBlueColor}"/>
|
||||||
|
|
||||||
|
<Button Text="Connexion Wifi"
|
||||||
|
Grid.Row="2"
|
||||||
|
Grid.Column="1"
|
||||||
|
WidthRequest="230"
|
||||||
|
HeightRequest="57"
|
||||||
|
VerticalOptions="Center"
|
||||||
|
HorizontalOptions="Center"
|
||||||
|
CornerRadius="10"
|
||||||
|
BackgroundColor="{DynamicResource SkyBlueColor}"/>
|
||||||
|
|
||||||
|
</Grid>
|
||||||
|
|
||||||
</ContentPage>
|
</ContentPage>
|
@ -1,17 +1,89 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
<ContentPage
|
<ContentPage BackgroundColor="{DynamicResource BlackColor}" x:Name="pageContentSetting"
|
||||||
|
|
||||||
xmlns="http://xamarin.com/schemas/2014/forms"
|
xmlns="http://xamarin.com/schemas/2014/forms"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||||
x:Class="TheGameExtreme.view.Settings">
|
x:Class="TheGameExtreme.view.Settings">
|
||||||
|
|
||||||
<StackLayout>
|
<Grid>
|
||||||
<Label Text="langage" Margin="50" />
|
<Grid.RowDefinitions>
|
||||||
|
<RowDefinition Height="*"/>
|
||||||
|
<RowDefinition Height="*"/>
|
||||||
|
<RowDefinition Height="*"/>
|
||||||
|
<RowDefinition Height="*"/>
|
||||||
|
</Grid.RowDefinitions>
|
||||||
|
<Grid.ColumnDefinitions>
|
||||||
|
<ColumnDefinition Width="*"/>
|
||||||
|
<ColumnDefinition Width="*"/>
|
||||||
|
<ColumnDefinition Width="*"/>
|
||||||
|
</Grid.ColumnDefinitions>
|
||||||
|
|
||||||
|
<ImageButton Source="ArrowSettingsBack.png"
|
||||||
|
Grid.Row="0" Grid.Column="0"
|
||||||
|
VerticalOptions="Start"
|
||||||
|
HorizontalOptions="StartAndExpand"
|
||||||
|
HeightRequest="40"
|
||||||
|
WidthRequest="50"
|
||||||
|
Clicked="SettingToHomePage"
|
||||||
|
BackgroundColor="Transparent"
|
||||||
|
Margin="10,10,0,0"/>
|
||||||
|
|
||||||
|
<Label HorizontalTextAlignment="Start"
|
||||||
|
Text ="Langage" Grid.Column="0"
|
||||||
|
Grid.Row="0" FontSize="25"
|
||||||
|
TextColor="{DynamicResource WhiteColor}"
|
||||||
|
Margin="40,58,0,0"/>
|
||||||
|
|
||||||
|
<Label Text="English"
|
||||||
|
Grid.Column="1" Grid.Row="0"
|
||||||
|
FontSize="25"
|
||||||
|
|
||||||
|
TextColor="{DynamicResource WhiteColor}"
|
||||||
|
Margin="80,58,0,0"/>
|
||||||
|
|
||||||
|
<CheckBox IsChecked="False"
|
||||||
|
Grid.Column="1" Grid.Row="0"
|
||||||
|
x:Name="CBBr"
|
||||||
|
CheckedChanged="CBBr_CheckedChanged"
|
||||||
|
Color="SkyBlue"
|
||||||
|
Margin="40,63,0,0"/>
|
||||||
|
|
||||||
|
<Label Text="Français"
|
||||||
|
Grid.Column="2" Grid.Row="0"
|
||||||
|
FontSize="25"
|
||||||
|
TextColor="{DynamicResource WhiteColor}"
|
||||||
|
Margin="80,58,0,0"/>
|
||||||
|
|
||||||
|
<CheckBox IsChecked="True"
|
||||||
|
Grid.Column="2" Grid.Row="0"
|
||||||
|
x:Name="CBFr"
|
||||||
|
CheckedChanged="CBFr_CheckedChanged"
|
||||||
|
Color="SkyBlue"
|
||||||
|
Margin="40,63,0,0"/>
|
||||||
|
|
||||||
|
|
||||||
|
<Label HorizontalTextAlignment="Start"
|
||||||
|
Text="Mode Extreme" Grid.Column="0"
|
||||||
|
Grid.Row="2" FontSize="25"
|
||||||
|
TextColor="{DynamicResource WhiteColor}"
|
||||||
|
Margin="40,25,0,0"/>
|
||||||
|
|
||||||
|
<Switch
|
||||||
|
Grid.Column="1" Grid.Row="2"
|
||||||
|
OnColor="SkyBlue"
|
||||||
|
ThumbColor="WhiteSmoke"/>
|
||||||
|
|
||||||
|
<Label Text="Thème Clair"
|
||||||
|
Grid.Column="0" Grid.Row="3"
|
||||||
|
FontSize="25"
|
||||||
|
TextColor="{DynamicResource WhiteColor}"
|
||||||
|
Margin="40,25,0,0"/>
|
||||||
|
|
||||||
<Label Text="Sound"/>
|
<Switch
|
||||||
<Switch IsToggled="true"/>
|
Grid.Column="1" Grid.Row="3"
|
||||||
<Label Text="Mode Extreme"/>
|
Toggled="Switch_Toggled_Theme" x:Name="swTheme"
|
||||||
<Switch IsToggled="true"/>
|
OnColor="SkyBlue" ThumbColor="WhiteSmoke"/>
|
||||||
</StackLayout>
|
</Grid>
|
||||||
|
|
||||||
</ContentPage>
|
</ContentPage>
|
||||||
|