Redéfinission des regles dans les fichiers ressources par tiret + Ajout d'une capture d'ecran pour le moment, d'autres sont à venir

master
Baptiste ARNAUD 5 years ago
parent dd937b7868
commit 58bd9315db

@ -27,6 +27,60 @@
<WarningLevel>4</WarningLevel> <WarningLevel>4</WarningLevel>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<Reference Include="Microsoft.AspNetCore.Connections.Abstractions, Version=3.1.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.AspNetCore.Connections.Abstractions.3.1.0\lib\netstandard2.0\Microsoft.AspNetCore.Connections.Abstractions.dll</HintPath>
</Reference>
<Reference Include="Microsoft.AspNetCore.Http.Connections.Client, Version=3.1.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.AspNetCore.Http.Connections.Client.3.1.0\lib\netstandard2.0\Microsoft.AspNetCore.Http.Connections.Client.dll</HintPath>
</Reference>
<Reference Include="Microsoft.AspNetCore.Http.Connections.Common, Version=3.1.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.AspNetCore.Http.Connections.Common.3.1.0\lib\netstandard2.0\Microsoft.AspNetCore.Http.Connections.Common.dll</HintPath>
</Reference>
<Reference Include="Microsoft.AspNetCore.Http.Features, Version=3.1.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.AspNetCore.Http.Features.3.1.0\lib\netstandard2.0\Microsoft.AspNetCore.Http.Features.dll</HintPath>
</Reference>
<Reference Include="Microsoft.AspNetCore.SignalR.Client, Version=3.1.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.AspNetCore.SignalR.Client.3.1.0\lib\netstandard2.0\Microsoft.AspNetCore.SignalR.Client.dll</HintPath>
</Reference>
<Reference Include="Microsoft.AspNetCore.SignalR.Client.Core, Version=3.1.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.AspNetCore.SignalR.Client.Core.3.1.0\lib\netstandard2.0\Microsoft.AspNetCore.SignalR.Client.Core.dll</HintPath>
</Reference>
<Reference Include="Microsoft.AspNetCore.SignalR.Common, Version=3.1.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.AspNetCore.SignalR.Common.3.1.0\lib\netstandard2.0\Microsoft.AspNetCore.SignalR.Common.dll</HintPath>
</Reference>
<Reference Include="Microsoft.AspNetCore.SignalR.Protocols.Json, Version=3.1.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.AspNetCore.SignalR.Protocols.Json.3.1.0\lib\netstandard2.0\Microsoft.AspNetCore.SignalR.Protocols.Json.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Bcl.AsyncInterfaces, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.Bcl.AsyncInterfaces.1.1.0\lib\net461\Microsoft.Bcl.AsyncInterfaces.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Extensions.Configuration, Version=3.1.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.Extensions.Configuration.3.1.0\lib\netstandard2.0\Microsoft.Extensions.Configuration.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Extensions.Configuration.Abstractions, Version=3.1.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.Extensions.Configuration.Abstractions.3.1.0\lib\netstandard2.0\Microsoft.Extensions.Configuration.Abstractions.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Extensions.Configuration.Binder, Version=3.1.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.Extensions.Configuration.Binder.3.1.0\lib\netstandard2.0\Microsoft.Extensions.Configuration.Binder.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Extensions.DependencyInjection, Version=3.1.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.Extensions.DependencyInjection.3.1.0\lib\net461\Microsoft.Extensions.DependencyInjection.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Extensions.DependencyInjection.Abstractions, Version=3.1.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.Extensions.DependencyInjection.Abstractions.3.1.0\lib\netstandard2.0\Microsoft.Extensions.DependencyInjection.Abstractions.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Extensions.Logging, Version=3.1.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.Extensions.Logging.3.1.0\lib\netstandard2.0\Microsoft.Extensions.Logging.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Extensions.Logging.Abstractions, Version=3.1.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.Extensions.Logging.Abstractions.3.1.0\lib\netstandard2.0\Microsoft.Extensions.Logging.Abstractions.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Extensions.Options, Version=3.1.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.Extensions.Options.3.1.0\lib\netstandard2.0\Microsoft.Extensions.Options.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Extensions.Primitives, Version=3.1.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.Extensions.Primitives.3.1.0\lib\netstandard2.0\Microsoft.Extensions.Primitives.dll</HintPath>
</Reference>
<Reference Include="MvvmCross.Plugins.BLE, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL"> <Reference Include="MvvmCross.Plugins.BLE, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\MvvmCross.Plugin.BLE.2.1.1\lib\netstandard2.0\MvvmCross.Plugins.BLE.dll</HintPath> <HintPath>..\packages\MvvmCross.Plugin.BLE.2.1.1\lib\netstandard2.0\MvvmCross.Plugins.BLE.dll</HintPath>
</Reference> </Reference>
@ -43,6 +97,41 @@
<Reference Include="nunit.framework"> <Reference Include="nunit.framework">
<HintPath>..\packages\NUnit.3.12.0\lib\net45\nunit.framework.dll</HintPath> <HintPath>..\packages\NUnit.3.12.0\lib\net45\nunit.framework.dll</HintPath>
</Reference> </Reference>
<Reference Include="System.Buffers, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.Buffers.4.5.0\lib\netstandard2.0\System.Buffers.dll</HintPath>
</Reference>
<Reference Include="System.ComponentModel.Annotations, Version=4.2.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\System.ComponentModel.Annotations.4.7.0\lib\net461\System.ComponentModel.Annotations.dll</HintPath>
</Reference>
<Reference Include="System.ComponentModel.DataAnnotations" />
<Reference Include="System.IO.Pipelines, Version=4.0.2.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.IO.Pipelines.4.7.0\lib\netstandard2.0\System.IO.Pipelines.dll</HintPath>
</Reference>
<Reference Include="System.Memory, Version=4.0.1.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.Memory.4.5.3\lib\netstandard2.0\System.Memory.dll</HintPath>
</Reference>
<Reference Include="System.Numerics" />
<Reference Include="System.Numerics.Vectors, Version=4.1.4.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\System.Numerics.Vectors.4.5.0\lib\net46\System.Numerics.Vectors.dll</HintPath>
</Reference>
<Reference Include="System.Runtime.CompilerServices.Unsafe, Version=4.0.6.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\System.Runtime.CompilerServices.Unsafe.4.7.0\lib\netstandard2.0\System.Runtime.CompilerServices.Unsafe.dll</HintPath>
</Reference>
<Reference Include="System.Text.Encodings.Web, Version=4.0.5.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.Text.Encodings.Web.4.7.0\lib\netstandard2.0\System.Text.Encodings.Web.dll</HintPath>
</Reference>
<Reference Include="System.Text.Json, Version=4.0.1.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.Text.Json.4.7.0\lib\net461\System.Text.Json.dll</HintPath>
</Reference>
<Reference Include="System.Threading.Channels, Version=4.0.2.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.Threading.Channels.4.7.0\lib\netstandard2.0\System.Threading.Channels.dll</HintPath>
</Reference>
<Reference Include="System.Threading.Tasks.Extensions, Version=4.2.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.Threading.Tasks.Extensions.4.5.2\lib\netstandard2.0\System.Threading.Tasks.Extensions.dll</HintPath>
</Reference>
<Reference Include="System.ValueTuple, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.ValueTuple.4.5.0\lib\net47\System.ValueTuple.dll</HintPath>
</Reference>
<Reference Include="Xamarin.Essentials"> <Reference Include="Xamarin.Essentials">
<HintPath>..\..\..\Microsoft\Xamarin\NuGet\xamarin.essentials\1.2.0\lib\xamarinios10\Xamarin.Essentials.dll</HintPath> <HintPath>..\..\..\Microsoft\Xamarin\NuGet\xamarin.essentials\1.2.0\lib\xamarinios10\Xamarin.Essentials.dll</HintPath>
</Reference> </Reference>
@ -76,6 +165,7 @@
<Compile Include="AppInitializer.cs" /> <Compile Include="AppInitializer.cs" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<None Include="app.config" />
<None Include="packages.config" /> <None Include="packages.config" />
</ItemGroup> </ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />

@ -0,0 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="System.Numerics.Vectors" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.1.4.0" newVersion="4.1.4.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.6.0" newVersion="4.0.6.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Memory" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.1.1" newVersion="4.0.1.1" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.ValueTuple" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>

@ -1,9 +1,38 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<packages> <packages>
<package id="Microsoft.AspNetCore.Connections.Abstractions" version="3.1.0" targetFramework="net472" />
<package id="Microsoft.AspNetCore.Http.Connections.Client" version="3.1.0" targetFramework="net472" />
<package id="Microsoft.AspNetCore.Http.Connections.Common" version="3.1.0" targetFramework="net472" />
<package id="Microsoft.AspNetCore.Http.Features" version="3.1.0" targetFramework="net472" />
<package id="Microsoft.AspNetCore.SignalR.Client" version="3.1.0" targetFramework="net472" />
<package id="Microsoft.AspNetCore.SignalR.Client.Core" version="3.1.0" targetFramework="net472" />
<package id="Microsoft.AspNetCore.SignalR.Common" version="3.1.0" targetFramework="net472" />
<package id="Microsoft.AspNetCore.SignalR.Protocols.Json" version="3.1.0" targetFramework="net472" />
<package id="Microsoft.Bcl.AsyncInterfaces" version="1.1.0" targetFramework="net472" />
<package id="Microsoft.Extensions.Configuration" version="3.1.0" targetFramework="net472" />
<package id="Microsoft.Extensions.Configuration.Abstractions" version="3.1.0" targetFramework="net472" />
<package id="Microsoft.Extensions.Configuration.Binder" version="3.1.0" targetFramework="net472" />
<package id="Microsoft.Extensions.DependencyInjection" version="3.1.0" targetFramework="net472" />
<package id="Microsoft.Extensions.DependencyInjection.Abstractions" version="3.1.0" targetFramework="net472" />
<package id="Microsoft.Extensions.Logging" version="3.1.0" targetFramework="net472" />
<package id="Microsoft.Extensions.Logging.Abstractions" version="3.1.0" targetFramework="net472" />
<package id="Microsoft.Extensions.Options" version="3.1.0" targetFramework="net472" />
<package id="Microsoft.Extensions.Primitives" version="3.1.0" targetFramework="net472" />
<package id="MvvmCross.Plugin.BLE" version="2.1.1" targetFramework="net472" /> <package id="MvvmCross.Plugin.BLE" version="2.1.1" targetFramework="net472" />
<package id="NUnit" version="3.12.0" targetFramework="net472" /> <package id="NUnit" version="3.12.0" targetFramework="net472" />
<package id="Plugin.BLE" version="2.1.1" targetFramework="net472" /> <package id="Plugin.BLE" version="2.1.1" targetFramework="net472" />
<package id="Rg.Plugins.Popup" version="1.2.0.223" targetFramework="net472" /> <package id="Rg.Plugins.Popup" version="1.2.0.223" targetFramework="net472" />
<package id="System.Buffers" version="4.5.0" targetFramework="net472" />
<package id="System.ComponentModel.Annotations" version="4.7.0" targetFramework="net472" />
<package id="System.IO.Pipelines" version="4.7.0" targetFramework="net472" />
<package id="System.Memory" version="4.5.3" targetFramework="net472" />
<package id="System.Numerics.Vectors" version="4.5.0" targetFramework="net472" />
<package id="System.Runtime.CompilerServices.Unsafe" version="4.7.0" targetFramework="net472" />
<package id="System.Text.Encodings.Web" version="4.7.0" targetFramework="net472" />
<package id="System.Text.Json" version="4.7.0" targetFramework="net472" />
<package id="System.Threading.Channels" version="4.7.0" targetFramework="net472" />
<package id="System.Threading.Tasks.Extensions" version="4.5.2" targetFramework="net472" />
<package id="System.ValueTuple" version="4.5.0" targetFramework="net472" />
<package id="TouchTracking" version="1.1.0" targetFramework="net472" /> <package id="TouchTracking" version="1.1.0" targetFramework="net472" />
<package id="TouchTracking.Forms" version="1.1.0" targetFramework="net472" /> <package id="TouchTracking.Forms" version="1.1.0" targetFramework="net472" />
<package id="Xamarin.Forms" version="3.0.0.446417" targetFramework="net472" /> <package id="Xamarin.Forms" version="3.0.0.446417" targetFramework="net472" />

@ -5794,67 +5794,70 @@ namespace TheGameExtreme.Droid
public const int ic_mtrl_chip_close_circle = 2131165289; public const int ic_mtrl_chip_close_circle = 2131165289;
// aapt resource value: 0x7F07006A // aapt resource value: 0x7F07006A
public const int LuneSombreTheme = 2131165290; public const int Imagetirer1a6 = 2131165290;
// aapt resource value: 0x7F07006B // aapt resource value: 0x7F07006B
public const int mtrl_snackbar_background = 2131165291; public const int LuneSombreTheme = 2131165291;
// aapt resource value: 0x7F07006C // aapt resource value: 0x7F07006C
public const int mtrl_tabs_default_indicator = 2131165292; public const int mtrl_snackbar_background = 2131165292;
// aapt resource value: 0x7F07006D // aapt resource value: 0x7F07006D
public const int navigation_empty_icon = 2131165293; public const int mtrl_tabs_default_indicator = 2131165293;
// aapt resource value: 0x7F07006E // aapt resource value: 0x7F07006E
public const int notification_action_background = 2131165294; public const int navigation_empty_icon = 2131165294;
// aapt resource value: 0x7F07006F // aapt resource value: 0x7F07006F
public const int notification_bg = 2131165295; public const int notification_action_background = 2131165295;
// aapt resource value: 0x7F070070 // aapt resource value: 0x7F070070
public const int notification_bg_low = 2131165296; public const int notification_bg = 2131165296;
// aapt resource value: 0x7F070071 // aapt resource value: 0x7F070071
public const int notification_bg_low_normal = 2131165297; public const int notification_bg_low = 2131165297;
// aapt resource value: 0x7F070072 // aapt resource value: 0x7F070072
public const int notification_bg_low_pressed = 2131165298; public const int notification_bg_low_normal = 2131165298;
// aapt resource value: 0x7F070073 // aapt resource value: 0x7F070073
public const int notification_bg_normal = 2131165299; public const int notification_bg_low_pressed = 2131165299;
// aapt resource value: 0x7F070074 // aapt resource value: 0x7F070074
public const int notification_bg_normal_pressed = 2131165300; public const int notification_bg_normal = 2131165300;
// aapt resource value: 0x7F070075 // aapt resource value: 0x7F070075
public const int notification_icon_background = 2131165301; public const int notification_bg_normal_pressed = 2131165301;
// aapt resource value: 0x7F070076 // aapt resource value: 0x7F070076
public const int notification_template_icon_bg = 2131165302; public const int notification_icon_background = 2131165302;
// aapt resource value: 0x7F070077 // aapt resource value: 0x7F070077
public const int notification_template_icon_low_bg = 2131165303; public const int notification_template_icon_bg = 2131165303;
// aapt resource value: 0x7F070078 // aapt resource value: 0x7F070078
public const int notification_tile_bg = 2131165304; public const int notification_template_icon_low_bg = 2131165304;
// aapt resource value: 0x7F070079 // aapt resource value: 0x7F070079
public const int notify_panel_notification_icon_bg = 2131165305; public const int notification_tile_bg = 2131165305;
// aapt resource value: 0x7F07007A // aapt resource value: 0x7F07007A
public const int PointI = 2131165306; public const int notify_panel_notification_icon_bg = 2131165306;
// aapt resource value: 0x7F07007B // aapt resource value: 0x7F07007B
public const int SoleilThemes = 2131165307; public const int PointI = 2131165307;
// aapt resource value: 0x7F07007C // aapt resource value: 0x7F07007C
public const int tooltip_frame_dark = 2131165308; public const int SoleilThemes = 2131165308;
// aapt resource value: 0x7F07007D // aapt resource value: 0x7F07007D
public const int tooltip_frame_light = 2131165309; public const int tooltip_frame_dark = 2131165309;
// aapt resource value: 0x7F07007E // aapt resource value: 0x7F07007E
public const int TrierImageB = 2131165310; public const int tooltip_frame_light = 2131165310;
// aapt resource value: 0x7F07007F
public const int TrierImageB = 2131165311;
static Drawable() static Drawable()
{ {

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

@ -57,6 +57,9 @@
<Reference Include="System.Numerics.Vectors" /> <Reference Include="System.Numerics.Vectors" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.SignalR.Client">
<Version>3.1.0</Version>
</PackageReference>
<PackageReference Include="Rg.Plugins.Popup"> <PackageReference Include="Rg.Plugins.Popup">
<Version>1.2.0.223</Version> <Version>1.2.0.223</Version>
</PackageReference> </PackageReference>
@ -142,5 +145,8 @@
<ItemGroup> <ItemGroup>
<AndroidResource Include="Resources\drawable\ExempleJeu1.png" /> <AndroidResource Include="Resources\drawable\ExempleJeu1.png" />
</ItemGroup> </ItemGroup>
<ItemGroup>
<AndroidResource Include="Resources\drawable\Imagetirer1a6.png" />
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.CSharp.targets" /> <Import Project="$(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.CSharp.targets" />
</Project> </Project>

@ -152,6 +152,9 @@
<Reference Include="System.Numerics.Vectors" /> <Reference Include="System.Numerics.Vectors" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.SignalR.Client">
<Version>3.1.0</Version>
</PackageReference>
<PackageReference Include="MvvmCross.Plugin.BLE"> <PackageReference Include="MvvmCross.Plugin.BLE">
<Version>2.1.1</Version> <Version>2.1.1</Version>
</PackageReference> </PackageReference>
@ -191,6 +194,7 @@
<BundleResource Include="Resources\PointI.png" /> <BundleResource Include="Resources\PointI.png" />
<BundleResource Include="Resources\TrierImageB.png" /> <BundleResource Include="Resources\TrierImageB.png" />
<BundleResource Include="Resources\ExempleJeu.png" /> <BundleResource Include="Resources\ExempleJeu.png" />
<BundleResource Include="Resources\Imagetirer1a6.png" />
<Content Include="TrierImageB.ico" /> <Content Include="TrierImageB.ico" />
</ItemGroup> </ItemGroup>
</Project> </Project>

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

@ -267,19 +267,121 @@ namespace TheGameExtreme.Resx {
} }
/// <summary> /// <summary>
/// Recherche une chaîne localisée semblable à - L&apos;objectif est de battre la machine seul et/ou en coopération. /// Recherche une chaîne localisée semblable à - L&apos;objectif est de battre la machine seul et/ou en coopération..
/// /// </summary>
/// - Afin d&apos;atteindre l&apos;objectif, les joueurs disposent de 4 piles (par défaut): deux piles ascendantes vertes et deux piles descendantes rouges. public static string StrTiret1 {
/// get {
/// - Sur les piles ascendantes, le joueur doit poser des cartes plus grandes et inversement sur les piles descendantes. return ResourceManager.GetString("StrTiret1", resourceCulture);
/// }
/// - Le but est de poser les 98 cartes du jeu sur les différentes piles à votre disposition. }
///
/// - Pour jouer, il suffit de faire glisser une carte sur la pil [le reste de la chaîne a été tronqué]&quot;;. /// <summary>
/// Recherche une chaîne localisée semblable à - Une fois votre tour terminé, vous appuyez sur le boutton &quot;Fin de tour&quot; afin de passer au joueur suivant..
/// </summary>
public static string StrTiret10 {
get {
return ResourceManager.GetString("StrTiret10", resourceCulture);
}
}
/// <summary>
/// Recherche une chaîne localisée semblable à - La partie est finie quand toutes les cartes sont jouées ou quand le joueur dont c&apos;est le tour ne peut plus jouer..
/// </summary>
public static string StrTiret11 {
get {
return ResourceManager.GetString("StrTiret11", resourceCulture);
}
}
/// <summary>
/// Recherche une chaîne localisée semblable à - Afin de préparer la partie, vous disposez d&apos;un écran permettant de choisir le nombre de joueur et leur pseudo, le type de jeu auquels vous souhaitez jouer et enfin le nombre de piles pour jouer..
/// </summary>
public static string StrTiret12 {
get {
return ResourceManager.GetString("StrTiret12", resourceCulture);
}
}
/// <summary>
/// Recherche une chaîne localisée semblable à - Le type de jeu permet de définir les valeurs présentent sur les cartes. Vous pouvez jouer avec des valeurs entières, relatives, décimales (1 chiffre), décimales (2 chiffres), décimales (3 chiffres) et avec des fractions décimales.
/// </summary>
public static string StrTiret13 {
get {
return ResourceManager.GetString("StrTiret13", resourceCulture);
}
}
/// <summary>
/// Recherche une chaîne localisée semblable à - Afin d&apos;atteindre l&apos;objectif, les joueurs disposent de 4 piles (par défaut): deux piles ascendantes vertes et deux piles descendantes rouges..
/// </summary>
public static string StrTiret2 {
get {
return ResourceManager.GetString("StrTiret2", resourceCulture);
}
}
/// <summary>
/// Recherche une chaîne localisée semblable à - Sur les piles ascendantes, le joueur doit poser des cartes plus grandes et inversement sur les piles descendantes..
/// </summary>
public static string StrTiret3 {
get {
return ResourceManager.GetString("StrTiret3", resourceCulture);
}
}
/// <summary>
/// Recherche une chaîne localisée semblable à - Le but est de poser les 98 cartes du jeu sur les différentes piles à votre disposition..
/// </summary>
public static string StrTiret4 {
get {
return ResourceManager.GetString("StrTiret4", resourceCulture);
}
}
/// <summary>
/// Recherche une chaîne localisée semblable à - Pour jouer, il suffit de faire glisser une carte sur la pile que vous avez décidé..
/// </summary>
public static string StrTiret5 {
get {
return ResourceManager.GetString("StrTiret5", resourceCulture);
}
}
/// <summary>
/// Recherche une chaîne localisée semblable à - Cette carte doit être plus grande que celle déjà présente s&apos;il s&apos;agit d&apos;une pile ascendante et plus petite si c&apos;est l&apos;inverse..
/// </summary>
public static string StrTiret6 {
get {
return ResourceManager.GetString("StrTiret6", resourceCulture);
}
}
/// <summary>
/// Recherche une chaîne localisée semblable à - Il est possible de poser une carte plus petite sur une pile ascendante à condition que ce soit d&apos;&apos;une dizaine inférieur. De la même manière, si la carte est plus grande d&apos;une dizaine, il est possible de la poser sur une pile descendante..
/// </summary>
public static string StrTiret7 {
get {
return ResourceManager.GetString("StrTiret7", resourceCulture);
}
}
/// <summary>
/// Recherche une chaîne localisée semblable à - Ex : Sur une pile descendante, nous avons 68 =&gt; Nous pouvons alors poser 78.
/// Sur une pile ascendante, nous avons à nouveau 68 =&gt; Nous pouvons poser 58..
/// </summary>
public static string StrTiret8 {
get {
return ResourceManager.GetString("StrTiret8", resourceCulture);
}
}
/// <summary>
/// Recherche une chaîne localisée semblable à - Chaque joueur doit jouer au minimum deux cartes par tour.
/// Il n&apos;y a donc aucune limite maximale de carte à jouer par tour. Cependant, il est conseillé dans la plupart des cas de ne pas jouer toutes les cartes en sa possessions..
/// </summary> /// </summary>
public static string StrRules { public static string StrTiret9 {
get { get {
return ResourceManager.GetString("StrRules", resourceCulture); return ResourceManager.GetString("StrTiret9", resourceCulture);
} }
} }

@ -191,37 +191,46 @@ An opportunity to change the theme of the application through the images of the
<data name="StrRetry" xml:space="preserve"> <data name="StrRetry" xml:space="preserve">
<value>Retry</value> <value>Retry</value>
</data> </data>
<data name="StrRules" xml:space="preserve"> <data name="StrTiret1" xml:space="preserve">
<value>- Objective is to beat the machine alone and / or in cooperation. <value>- The goal is to beat the machine alone and / or in cooperation.</value>
</data>
So that the user is 4 players (default): two ascending (Green) and two descendants (Red). <data name="StrTiret10" xml:space="preserve">
<value>- Once your turn is over, you press the end of turn button to move to the next player.</value>
- Ascending piles. </data>
<data name="StrTiret11" xml:space="preserve">
- The goal is to put the 98 cards of the game on different piles at your disposal. <value>- The game is over when all cards are played or when the player whose turn it is can not play.</value>
(To do this, the rules of the game turn below) </data>
<data name="StrTiret12" xml:space="preserve">
- To play, just slide a card on the pile that you have decided. <value>- To prepare the game, you have a screen to choose the number of players and their nickname, the type of game you want to play and finally the number of stacks to play.</value>
</data>
This card must be well understood. <data name="StrTiret13" xml:space="preserve">
<value>- The type of game allows to define the values present on the cards. You can play with integer, relative, decimal (1 digit), decimal (2 digit), decimal (3 digit) and with decimal fractions</value>
There are two special cases to the rule above. Indeed, it is possible to put a smaller card on an ascending stack provided that it is a dozen lower. In the same way, if the card is bigger than a dozen, it is possible to put it on a falling battery. </data>
<data name="StrTiret2" xml:space="preserve">
- Ex: On a falling stack, we have 68 =&gt; We can then ask 78 <value>- In order to reach the goal, players have 4 stacks (default): two green rising stacks and two red falling stacks.</value>
On an ascending stack, we have again 68 =&gt; We can ask 58 or any numbers larger than 68. </data>
<data name="StrTiret3" xml:space="preserve">
- Each player must play at least two cards per turn. <value>- On ascending stacks, the player must place larger cards and vice versa on the stacks.</value>
There is therefore no maximum limit to the card to be played per round. However, it is advisable in most cases. </data>
<data name="StrTiret4" xml:space="preserve">
- One Time Tour, You are How to Buy "End of Tour" in order to pass to the next player. <value>- The goal is to put the 98 cards of the game on the different piles at your disposal.</value>
</data>
- The end of the game occurs when all cards are played or when the player whose turn it is can not play. <data name="StrTiret5" xml:space="preserve">
<value>- To play, just drag a card on the stack you have decided.</value>
- To the Preparing Party, Turning Display, Screen View Player Number of Player and Pseudo, The Type of Game. </data>
<data name="StrTiret6" xml:space="preserve">
- The type of game allows to define the cards with you will play: relative, decimal ... <value>- This card must be larger than the one already present if it is an ascending stack and smaller if it is the opposite.</value>
</data>
The number of batteries corresponds to the initial number of batteries. Half of the piles are still ascending and the other half are still descending. Moreover, the more the number of piles is important, the easier the game is. "</value> <data name="StrTiret7" xml:space="preserve">
<value>- It is possible to put a smaller card on an ascending stack provided that it is a dozen lower. In the same way, if the card is bigger than a dozen, it is possible to put it on a falling stack.</value>
</data>
<data name="StrTiret8" xml:space="preserve">
<value>- Ex: On a falling stack, we have 68 =&gt; We can then ask 78.
On an ascending pile, we have again 68 =&gt; We can ask 58.</value>
</data>
<data name="StrTiret9" xml:space="preserve">
<value>- Each player must play at least two cards per turn.
There is therefore no maximum card limit to play per round. However, it is advisable in most cases not to play all the cards in his possessions.</value>
</data> </data>
<data name="StrTitle" xml:space="preserve"> <data name="StrTitle" xml:space="preserve">
<value>OrderStacks</value> <value>OrderStacks</value>

@ -191,37 +191,46 @@ An opportunity to change the theme of the application through the images of the
<data name="StrRetry" xml:space="preserve"> <data name="StrRetry" xml:space="preserve">
<value>Retry</value> <value>Retry</value>
</data> </data>
<data name="StrRules" xml:space="preserve"> <data name="StrTiret1" xml:space="preserve">
<value>- Objective is to beat the machine alone and / or in cooperation. <value>- The goal is to beat the machine alone and / or in cooperation.</value>
</data>
So that the user is 4 players (default): two ascending (Green) and two descendants (Red). <data name="StrTiret10" xml:space="preserve">
<value>- Once your turn is over, you press the end of turn button to move to the next player.</value>
- Ascending piles. </data>
<data name="StrTiret11" xml:space="preserve">
- The goal is to put the 98 cards of the game on different piles at your disposal. <value>- The game is over when all cards are played or when the player whose turn it is can not play.</value>
(To do this, the rules of the game turn below) </data>
<data name="StrTiret12" xml:space="preserve">
- To play, just slide a card on the pile that you have decided. <value>- To prepare the game, you have a screen to choose the number of players and their nickname, the type of game you want to play and finally the number of stacks to play.</value>
</data>
This card must be well understood. <data name="StrTiret13" xml:space="preserve">
<value>- The type of game allows to define the values present on the cards. You can play with integer, relative, decimal (1 digit), decimal (2 digit), decimal (3 digit) and with decimal fractions</value>
There are two special cases to the rule above. Indeed, it is possible to put a smaller card on an ascending stack provided that it is a dozen lower. In the same way, if the card is bigger than a dozen, it is possible to put it on a falling battery. </data>
<data name="StrTiret2" xml:space="preserve">
- Ex: On a falling stack, we have 68 =&gt; We can then ask 78 <value>- In order to reach the goal, players have 4 stacks (default): two green rising stacks and two red falling stacks.</value>
On an ascending stack, we have again 68 =&gt; We can ask 58 or any numbers larger than 68. </data>
<data name="StrTiret3" xml:space="preserve">
- Each player must play at least two cards per turn. <value>- On ascending stacks, the player must place larger cards and vice versa on the stacks.</value>
There is therefore no maximum limit to the card to be played per round. However, it is advisable in most cases. </data>
<data name="StrTiret4" xml:space="preserve">
- One Time Tour, You are How to Buy "End of Tour" in order to pass to the next player. <value>- The goal is to put the 98 cards of the game on the different piles at your disposal.</value>
</data>
- The end of the game occurs when all cards are played or when the player whose turn it is can not play. <data name="StrTiret5" xml:space="preserve">
<value>- To play, just drag a card on the stack you have decided.</value>
- To the Preparing Party, Turning Display, Screen View Player Number of Player and Pseudo, The Type of Game. </data>
<data name="StrTiret6" xml:space="preserve">
- The type of game allows to define the cards with you will play: relative, decimal ... <value>- This card must be larger than the one already present if it is an ascending stack and smaller if it is the opposite.</value>
</data>
The number of batteries corresponds to the initial number of batteries. Half of the piles are still ascending and the other half are still descending. Moreover, the more the number of piles is important, the easier the game is. "</value> <data name="StrTiret7" xml:space="preserve">
<value>- It is possible to put a smaller card on an ascending stack provided that it is a dozen lower. In the same way, if the card is bigger than a dozen, it is possible to put it on a falling stack.</value>
</data>
<data name="StrTiret8" xml:space="preserve">
<value>- Ex: On a falling stack, we have 68 =&gt; We can then ask 78.
On an ascending pile, we have again 68 =&gt; We can ask 58.</value>
</data>
<data name="StrTiret9" xml:space="preserve">
<value>- Each player must play at least two cards per turn.
There is therefore no maximum card limit to play per round. However, it is advisable in most cases not to play all the cards in his possessions.</value>
</data> </data>
<data name="StrTitle" xml:space="preserve"> <data name="StrTitle" xml:space="preserve">
<value>OrderStacks</value> <value>OrderStacks</value>

@ -191,34 +191,46 @@ Une possibilité de changer le thème de l'application grâce aux images du sole
<data name="StrRetry" xml:space="preserve"> <data name="StrRetry" xml:space="preserve">
<value>Rejouer</value> <value>Rejouer</value>
</data> </data>
<data name="StrRules" xml:space="preserve"> <data name="StrTiret1" xml:space="preserve">
<value> - L'objectif est de battre la machine seul et/ou en coopération. <value>- L'objectif est de battre la machine seul et/ou en coopération.</value>
</data>
- Afin d'atteindre l'objectif, les joueurs disposent de 4 piles (par défaut): deux piles ascendantes vertes et deux piles descendantes rouges. <data name="StrTiret10" xml:space="preserve">
<value>- Une fois votre tour terminé, vous appuyez sur le boutton "Fin de tour" afin de passer au joueur suivant.</value>
- Sur les piles ascendantes, le joueur doit poser des cartes plus grandes et inversement sur les piles descendantes. </data>
<data name="StrTiret11" xml:space="preserve">
- Le but est de poser les 98 cartes du jeu sur les différentes piles à votre disposition. <value>- La partie est finie quand toutes les cartes sont jouées ou quand le joueur dont c'est le tour ne peut plus jouer.</value>
</data>
- Pour jouer, il suffit de faire glisser une carte sur la pile que vous avez décidé. <data name="StrTiret12" xml:space="preserve">
<value>- Afin de préparer la partie, vous disposez d'un écran permettant de choisir le nombre de joueur et leur pseudo, le type de jeu auquels vous souhaitez jouer et enfin le nombre de piles pour jouer.</value>
- Cette carte doit être plus grande que celle déjà présente s'il s'agit d'une pile ascendante et plus petite si c'est l'inverse. </data>
<data name="StrTiret13" xml:space="preserve">
- Il est possible de poser une carte plus petite sur une pile ascendante à condition que ce soit d''une dizaine inférieur. De la même manière, si la carte est plus grande d'une dizaine, il est possible de la poser sur une pile descendante. <value>- Le type de jeu permet de définir les valeurs présentent sur les cartes. Vous pouvez jouer avec des valeurs entières, relatives, décimales (1 chiffre), décimales (2 chiffres), décimales (3 chiffres) et avec des fractions décimales</value>
</data>
- Ex : Sur une pile descendante, nous avons 68 =&gt; Nous pouvons alors poser 78. <data name="StrTiret2" xml:space="preserve">
Sur une pile ascendante, nous avons à nouveau 68 =&gt; Nous pouvons poser 58. <value>- Afin d'atteindre l'objectif, les joueurs disposent de 4 piles (par défaut): deux piles ascendantes vertes et deux piles descendantes rouges.</value>
</data>
- Chaque joueur doit jouer au minimum deux cartes par tour. <data name="StrTiret3" xml:space="preserve">
Il n'y a donc aucune limite maximale de carte à jouer par tour. Cependant, il est conseillé dans la plupart des cas de ne pas jouer toutes les cartes en sa possessions. <value>- Sur les piles ascendantes, le joueur doit poser des cartes plus grandes et inversement sur les piles descendantes.</value>
</data>
- Une fois votre tour terminé, vous appuyez sur le boutton "Fin de tour" afin de passer au joueur suivant. <data name="StrTiret4" xml:space="preserve">
<value>- Le but est de poser les 98 cartes du jeu sur les différentes piles à votre disposition.</value>
- La partie est finie quand toutes les cartes sont jouées ou quand le joueur dont c'est le tour ne peut plus jouer. </data>
<data name="StrTiret5" xml:space="preserve">
- Afin de préparer la partie, vous disposez d'un écran permettant de choisir le nombre de joueur et leur pseudo, le type de jeu auquels vous souhaitez jouer et enfin le nombre de piles pour jouer. <value>- Pour jouer, il suffit de faire glisser une carte sur la pile que vous avez décidé.</value>
</data>
- Le type de jeu permet de définir les valeurs présentent sur les cartes. Vous pouvez jouer avec des valeurs entières, relatives, décimales (1 chiffre), décimales (2 chiffres), décimales (3 chiffres) et avec des fractions décimales</value> <data name="StrTiret6" xml:space="preserve">
<value>- Cette carte doit être plus grande que celle déjà présente s'il s'agit d'une pile ascendante et plus petite si c'est l'inverse.</value>
</data>
<data name="StrTiret7" xml:space="preserve">
<value>- Il est possible de poser une carte plus petite sur une pile ascendante à condition que ce soit d''une dizaine inférieur. De la même manière, si la carte est plus grande d'une dizaine, il est possible de la poser sur une pile descendante.</value>
</data>
<data name="StrTiret8" xml:space="preserve">
<value>- Ex : Sur une pile descendante, nous avons 68 =&gt; Nous pouvons alors poser 78.
Sur une pile ascendante, nous avons à nouveau 68 =&gt; Nous pouvons poser 58.</value>
</data>
<data name="StrTiret9" xml:space="preserve">
<value>- Chaque joueur doit jouer au minimum deux cartes par tour.
Il n'y a donc aucune limite maximale de carte à jouer par tour. Cependant, il est conseillé dans la plupart des cas de ne pas jouer toutes les cartes en sa possessions.</value>
</data> </data>
<data name="StrTitle" xml:space="preserve"> <data name="StrTitle" xml:space="preserve">
<value>OrderStacks</value> <value>OrderStacks</value>

@ -6,6 +6,7 @@
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.SignalR.Client" Version="3.1.0" />
<PackageReference Include="MvvmCross" Version="6.4.1" /> <PackageReference Include="MvvmCross" Version="6.4.1" />
<PackageReference Include="MvvmCross.Plugin.BLE" Version="2.1.1" /> <PackageReference Include="MvvmCross.Plugin.BLE" Version="2.1.1" />
<PackageReference Include="Plugin.BLE" Version="2.1.1" /> <PackageReference Include="Plugin.BLE" Version="2.1.1" />
@ -77,6 +78,9 @@
<EmbeddedResource Update="view\RulesGame.xaml"> <EmbeddedResource Update="view\RulesGame.xaml">
<Generator>MSBuild:UpdateDesignTimeXaml</Generator> <Generator>MSBuild:UpdateDesignTimeXaml</Generator>
</EmbeddedResource> </EmbeddedResource>
<EmbeddedResource Update="view\Testconnectivité.xaml">
<Generator>MSBuild:UpdateDesignTimeXaml</Generator>
</EmbeddedResource>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Compile Update="Resx\AppResources.Designer.cs"> <Compile Update="Resx\AppResources.Designer.cs">

@ -3,6 +3,7 @@
<ContentPage BackgroundColor="{DynamicResource BlackColor}" <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"
xmlns:resources="clr-namespace:TheGameExtreme.Resx"
x:Class="TheGameExtreme.view.MultiPlayerMode"> x:Class="TheGameExtreme.view.MultiPlayerMode">
<Grid> <Grid>
@ -50,7 +51,8 @@
VerticalOptions="Center" VerticalOptions="Center"
HorizontalOptions="Center" HorizontalOptions="Center"
CornerRadius="10" CornerRadius="10"
Clicked="Button_Clicked" Clicked="Button_ClickedCo"
x:Name="connectButton"
BackgroundColor="{DynamicResource SkyBlueColor}"/> BackgroundColor="{DynamicResource SkyBlueColor}"/>

@ -1,28 +1,22 @@
using MvvmCross; using Microsoft.AspNetCore.SignalR.Client;
using Plugin.BLE;
using Plugin.BLE.Abstractions.Contracts;
using System; using System;
using System.Collections.ObjectModel; using System.Threading.Tasks;
using Xamarin.Forms; using Xamarin.Forms;
using SocketIO.Client;
using System.Net.Sockets;
using System.Net.WebSockets;
namespace TheGameExtreme.view namespace TheGameExtreme.view
{ {
public partial class MultiPlayerMode : ContentPage public partial class MultiPlayerMode : ContentPage
{ {
public MultiPlayerMode() public MultiPlayerMode()
{ {
InitializeComponent(); InitializeComponent();
NavigationPage.SetHasNavigationBar(this, false); NavigationPage.SetHasNavigationBar(this, false);
} }
private void Button_Clicked(object sender, EventArgs e) private async void Button_ClickedCo(object sender, EventArgs args)
{ {
ClientWebSocket csocket = new ClientWebSocket(); await Navigation.PushAsync(new Testconnectivité());
} }
} }
} }

@ -61,7 +61,57 @@
<StackLayout> <StackLayout>
<Label <Label
Text="{x:Static resources:AppResources.StrRules}" Text="{x:Static resources:AppResources.StrTiret1}"
FontSize="16"
TextColor="{DynamicResource WhiteColor}"/>
<Label
Text="{x:Static resources:AppResources.StrTiret2}"
FontSize="16"
TextColor="{DynamicResource WhiteColor}"/>
<Label
Text="{x:Static resources:AppResources.StrTiret3}"
FontSize="16"
TextColor="{DynamicResource WhiteColor}"/>
<Label
Text="{x:Static resources:AppResources.StrTiret4}"
FontSize="16"
TextColor="{DynamicResource WhiteColor}"/>
<Label
Text="{x:Static resources:AppResources.StrTiret5}"
FontSize="16"
TextColor="{DynamicResource WhiteColor}"/>
<Image Source="Imagetirer1a6.png"
WidthRequest="280"
HeightRequest="200"/>
<Label
Text="{x:Static resources:AppResources.StrTiret7}"
FontSize="16"
TextColor="{DynamicResource WhiteColor}"/>
<Label
Text="{x:Static resources:AppResources.StrTiret8}"
FontSize="16"
TextColor="{DynamicResource WhiteColor}"/>
<Label
Text="{x:Static resources:AppResources.StrTiret9}"
FontSize="16"
TextColor="{DynamicResource WhiteColor}"/>
<Label
Text="{x:Static resources:AppResources.StrTiret10}"
FontSize="16"
TextColor="{DynamicResource WhiteColor}"/>
<Label
Text="{x:Static resources:AppResources.StrTiret11}"
FontSize="16"
TextColor="{DynamicResource WhiteColor}"/>
<Label
Text="{x:Static resources:AppResources.StrTiret12}"
FontSize="16"
TextColor="{DynamicResource WhiteColor}"/>
<Label
Text="{x:Static resources:AppResources.StrTiret13}"
FontSize="16" FontSize="16"
TextColor="{DynamicResource WhiteColor}"/> TextColor="{DynamicResource WhiteColor}"/>

@ -0,0 +1,62 @@
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage
BackgroundColor="{DynamicResource BlackColor}"
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"
xmlns:resources="clr-namespace:TheGameExtreme.Resx"
x:Class="TheGameExtreme.view.Testconnectivité">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="2*"/>
<RowDefinition Height="10*"/>
<RowDefinition Height="2*"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="2*"/>
<ColumnDefinition Width="10*"/>
<ColumnDefinition Width="2*"/>
</Grid.ColumnDefinitions>
<Label Text="Test"
Grid.Column="1"
Grid.Row="0"
TextColor ="{DynamicResource WhiteColor}"
VerticalOptions="Center"
HorizontalOptions="Center"/>
<ListView x:Name="messagesList"
Grid.Row="1"
Grid.Column="1"
VerticalOptions="Center"
HorizontalOptions="Center"
BackgroundColor="{DynamicResource WhiteColor}"/>
<Button Text="Log"
BackgroundColor="{DynamicResource SkyBlueColor}"
Grid.Column="0"
Grid.Row="0"
CornerRadius="10"
HorizontalOptions="Center"
x:Name="connectButton"
VerticalOptions="End"/>
<Button Text="Send"
x:Name="sendButton"
BackgroundColor="{DynamicResource SkyBlueColor}"
Grid.Column="1"
Grid.Row="2"
CornerRadius="10"
HorizontalOptions="Center"
VerticalOptions="End"/>
</Grid>
</ContentPage>

@ -0,0 +1,69 @@
using Microsoft.AspNetCore.SignalR.Client;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace TheGameExtreme.view
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class Testconnectivité : ContentPage
{
HubConnection connection;
public Testconnectivité()
{
/*InitializeComponent();
NavigationPage.SetHasNavigationBar(this, false);
connection = new HubConnectionBuilder().WithUrl("http://serverpm.herokuapp.com/").WithAutomaticReconnect().Build();
connection.Closed += async (error) =>
{
await Task.Delay(new Random().Next(0, 5) * 1000);
await connection.StartAsync();
};*/
}
/*private async void Button_Clicked(object sender, EventArgs e)
{
connection.On<string, string>("Receive message", (user, message) =>
{
this.Dispatcher.BeginInvokeOnMainThread(() =>
{
var newMessage = $"{user}: {message}";
messagesList.Items.Add(newMessage);
});
});
try
{
await connection.StartAsync();
messagesList.Items.Add("Connection started");
connectButton.IsEnabled = false;
sendButton.IsEnabled = true;
}
catch (Exception ex)
{
messagesList.Items.Add(ex.Message);
}
}
private async void sendButton_Click(object sender, EventArgs e)
{
try
{
await connection.InvokeAsync("SendMessage",
userTextBox.Text, messageTextBox.Text);
}
catch (Exception ex)
{
messagesList.Items.Add(ex.Message);
}
}*/
}
}

@ -40,6 +40,60 @@
<WarningLevel>4</WarningLevel> <WarningLevel>4</WarningLevel>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<Reference Include="Microsoft.AspNetCore.Connections.Abstractions, Version=3.1.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.AspNetCore.Connections.Abstractions.3.1.0\lib\netstandard2.0\Microsoft.AspNetCore.Connections.Abstractions.dll</HintPath>
</Reference>
<Reference Include="Microsoft.AspNetCore.Http.Connections.Client, Version=3.1.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.AspNetCore.Http.Connections.Client.3.1.0\lib\netstandard2.0\Microsoft.AspNetCore.Http.Connections.Client.dll</HintPath>
</Reference>
<Reference Include="Microsoft.AspNetCore.Http.Connections.Common, Version=3.1.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.AspNetCore.Http.Connections.Common.3.1.0\lib\netstandard2.0\Microsoft.AspNetCore.Http.Connections.Common.dll</HintPath>
</Reference>
<Reference Include="Microsoft.AspNetCore.Http.Features, Version=3.1.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.AspNetCore.Http.Features.3.1.0\lib\netstandard2.0\Microsoft.AspNetCore.Http.Features.dll</HintPath>
</Reference>
<Reference Include="Microsoft.AspNetCore.SignalR.Client, Version=3.1.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.AspNetCore.SignalR.Client.3.1.0\lib\netstandard2.0\Microsoft.AspNetCore.SignalR.Client.dll</HintPath>
</Reference>
<Reference Include="Microsoft.AspNetCore.SignalR.Client.Core, Version=3.1.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.AspNetCore.SignalR.Client.Core.3.1.0\lib\netstandard2.0\Microsoft.AspNetCore.SignalR.Client.Core.dll</HintPath>
</Reference>
<Reference Include="Microsoft.AspNetCore.SignalR.Common, Version=3.1.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.AspNetCore.SignalR.Common.3.1.0\lib\netstandard2.0\Microsoft.AspNetCore.SignalR.Common.dll</HintPath>
</Reference>
<Reference Include="Microsoft.AspNetCore.SignalR.Protocols.Json, Version=3.1.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.AspNetCore.SignalR.Protocols.Json.3.1.0\lib\netstandard2.0\Microsoft.AspNetCore.SignalR.Protocols.Json.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Bcl.AsyncInterfaces, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.Bcl.AsyncInterfaces.1.1.0\lib\net461\Microsoft.Bcl.AsyncInterfaces.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Extensions.Configuration, Version=3.1.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.Extensions.Configuration.3.1.0\lib\netstandard2.0\Microsoft.Extensions.Configuration.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Extensions.Configuration.Abstractions, Version=3.1.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.Extensions.Configuration.Abstractions.3.1.0\lib\netstandard2.0\Microsoft.Extensions.Configuration.Abstractions.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Extensions.Configuration.Binder, Version=3.1.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.Extensions.Configuration.Binder.3.1.0\lib\netstandard2.0\Microsoft.Extensions.Configuration.Binder.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Extensions.DependencyInjection, Version=3.1.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.Extensions.DependencyInjection.3.1.0\lib\net461\Microsoft.Extensions.DependencyInjection.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Extensions.DependencyInjection.Abstractions, Version=3.1.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.Extensions.DependencyInjection.Abstractions.3.1.0\lib\netstandard2.0\Microsoft.Extensions.DependencyInjection.Abstractions.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Extensions.Logging, Version=3.1.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.Extensions.Logging.3.1.0\lib\netstandard2.0\Microsoft.Extensions.Logging.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Extensions.Logging.Abstractions, Version=3.1.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.Extensions.Logging.Abstractions.3.1.0\lib\netstandard2.0\Microsoft.Extensions.Logging.Abstractions.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Extensions.Options, Version=3.1.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.Extensions.Options.3.1.0\lib\netstandard2.0\Microsoft.Extensions.Options.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Extensions.Primitives, Version=3.1.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.Extensions.Primitives.3.1.0\lib\netstandard2.0\Microsoft.Extensions.Primitives.dll</HintPath>
</Reference>
<Reference Include="Microsoft.VisualStudio.TestPlatform.TestFramework, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> <Reference Include="Microsoft.VisualStudio.TestPlatform.TestFramework, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\MSTest.TestFramework.1.3.2\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.dll</HintPath> <HintPath>..\packages\MSTest.TestFramework.1.3.2\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.dll</HintPath>
</Reference> </Reference>
@ -59,7 +113,42 @@
<HintPath>..\packages\Rg.Plugins.Popup.1.2.0.223\lib\netstandard1.0\Rg.Plugins.Popup.dll</HintPath> <HintPath>..\packages\Rg.Plugins.Popup.1.2.0.223\lib\netstandard1.0\Rg.Plugins.Popup.dll</HintPath>
</Reference> </Reference>
<Reference Include="System" /> <Reference Include="System" />
<Reference Include="System.Buffers, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.Buffers.4.5.0\lib\netstandard2.0\System.Buffers.dll</HintPath>
</Reference>
<Reference Include="System.ComponentModel.Annotations, Version=4.2.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\System.ComponentModel.Annotations.4.7.0\lib\net461\System.ComponentModel.Annotations.dll</HintPath>
</Reference>
<Reference Include="System.ComponentModel.DataAnnotations" />
<Reference Include="System.Core" /> <Reference Include="System.Core" />
<Reference Include="System.IO.Pipelines, Version=4.0.2.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.IO.Pipelines.4.7.0\lib\netstandard2.0\System.IO.Pipelines.dll</HintPath>
</Reference>
<Reference Include="System.Memory, Version=4.0.1.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.Memory.4.5.3\lib\netstandard2.0\System.Memory.dll</HintPath>
</Reference>
<Reference Include="System.Numerics" />
<Reference Include="System.Numerics.Vectors, Version=4.1.4.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\System.Numerics.Vectors.4.5.0\lib\net46\System.Numerics.Vectors.dll</HintPath>
</Reference>
<Reference Include="System.Runtime.CompilerServices.Unsafe, Version=4.0.6.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\System.Runtime.CompilerServices.Unsafe.4.7.0\lib\netstandard2.0\System.Runtime.CompilerServices.Unsafe.dll</HintPath>
</Reference>
<Reference Include="System.Text.Encodings.Web, Version=4.0.5.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.Text.Encodings.Web.4.7.0\lib\netstandard2.0\System.Text.Encodings.Web.dll</HintPath>
</Reference>
<Reference Include="System.Text.Json, Version=4.0.1.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.Text.Json.4.7.0\lib\net461\System.Text.Json.dll</HintPath>
</Reference>
<Reference Include="System.Threading.Channels, Version=4.0.2.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.Threading.Channels.4.7.0\lib\netstandard2.0\System.Threading.Channels.dll</HintPath>
</Reference>
<Reference Include="System.Threading.Tasks.Extensions, Version=4.2.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.Threading.Tasks.Extensions.4.5.2\lib\netstandard2.0\System.Threading.Tasks.Extensions.dll</HintPath>
</Reference>
<Reference Include="System.ValueTuple, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.ValueTuple.4.5.0\lib\net47\System.ValueTuple.dll</HintPath>
</Reference>
<Reference Include="Xamarin.Forms.Core, Version=2.0.0.0, Culture=neutral, processorArchitecture=MSIL"> <Reference Include="Xamarin.Forms.Core, Version=2.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\Xamarin.Forms.2.5.0.121934\lib\netstandard1.0\Xamarin.Forms.Core.dll</HintPath> <HintPath>..\packages\Xamarin.Forms.2.5.0.121934\lib\netstandard1.0\Xamarin.Forms.Core.dll</HintPath>
</Reference> </Reference>
@ -75,6 +164,7 @@
<Compile Include="Properties\AssemblyInfo.cs" /> <Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<None Include="app.config" />
<None Include="packages.config" /> <None Include="packages.config" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>

@ -0,0 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="System.Numerics.Vectors" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.1.4.0" newVersion="4.1.4.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.6.0" newVersion="4.0.6.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Memory" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.1.1" newVersion="4.0.1.1" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.ValueTuple" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>

@ -1,9 +1,38 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<packages> <packages>
<package id="Microsoft.AspNetCore.Connections.Abstractions" version="3.1.0" targetFramework="net472" />
<package id="Microsoft.AspNetCore.Http.Connections.Client" version="3.1.0" targetFramework="net472" />
<package id="Microsoft.AspNetCore.Http.Connections.Common" version="3.1.0" targetFramework="net472" />
<package id="Microsoft.AspNetCore.Http.Features" version="3.1.0" targetFramework="net472" />
<package id="Microsoft.AspNetCore.SignalR.Client" version="3.1.0" targetFramework="net472" />
<package id="Microsoft.AspNetCore.SignalR.Client.Core" version="3.1.0" targetFramework="net472" />
<package id="Microsoft.AspNetCore.SignalR.Common" version="3.1.0" targetFramework="net472" />
<package id="Microsoft.AspNetCore.SignalR.Protocols.Json" version="3.1.0" targetFramework="net472" />
<package id="Microsoft.Bcl.AsyncInterfaces" version="1.1.0" targetFramework="net472" />
<package id="Microsoft.Extensions.Configuration" version="3.1.0" targetFramework="net472" />
<package id="Microsoft.Extensions.Configuration.Abstractions" version="3.1.0" targetFramework="net472" />
<package id="Microsoft.Extensions.Configuration.Binder" version="3.1.0" targetFramework="net472" />
<package id="Microsoft.Extensions.DependencyInjection" version="3.1.0" targetFramework="net472" />
<package id="Microsoft.Extensions.DependencyInjection.Abstractions" version="3.1.0" targetFramework="net472" />
<package id="Microsoft.Extensions.Logging" version="3.1.0" targetFramework="net472" />
<package id="Microsoft.Extensions.Logging.Abstractions" version="3.1.0" targetFramework="net472" />
<package id="Microsoft.Extensions.Options" version="3.1.0" targetFramework="net472" />
<package id="Microsoft.Extensions.Primitives" version="3.1.0" targetFramework="net472" />
<package id="MSTest.TestAdapter" version="1.3.2" targetFramework="net472" /> <package id="MSTest.TestAdapter" version="1.3.2" targetFramework="net472" />
<package id="MSTest.TestFramework" version="1.3.2" targetFramework="net472" /> <package id="MSTest.TestFramework" version="1.3.2" targetFramework="net472" />
<package id="MvvmCross.Plugin.BLE" version="2.1.1" targetFramework="net472" /> <package id="MvvmCross.Plugin.BLE" version="2.1.1" targetFramework="net472" />
<package id="Plugin.BLE" version="2.1.1" targetFramework="net472" /> <package id="Plugin.BLE" version="2.1.1" targetFramework="net472" />
<package id="Rg.Plugins.Popup" version="1.2.0.223" targetFramework="net472" /> <package id="Rg.Plugins.Popup" version="1.2.0.223" targetFramework="net472" />
<package id="System.Buffers" version="4.5.0" targetFramework="net472" />
<package id="System.ComponentModel.Annotations" version="4.7.0" targetFramework="net472" />
<package id="System.IO.Pipelines" version="4.7.0" targetFramework="net472" />
<package id="System.Memory" version="4.5.3" targetFramework="net472" />
<package id="System.Numerics.Vectors" version="4.5.0" targetFramework="net472" />
<package id="System.Runtime.CompilerServices.Unsafe" version="4.7.0" targetFramework="net472" />
<package id="System.Text.Encodings.Web" version="4.7.0" targetFramework="net472" />
<package id="System.Text.Json" version="4.7.0" targetFramework="net472" />
<package id="System.Threading.Channels" version="4.7.0" targetFramework="net472" />
<package id="System.Threading.Tasks.Extensions" version="4.5.2" targetFramework="net472" />
<package id="System.ValueTuple" version="4.5.0" targetFramework="net472" />
<package id="Xamarin.Forms" version="2.5.0.121934" targetFramework="net472" /> <package id="Xamarin.Forms" version="2.5.0.121934" targetFramework="net472" />
</packages> </packages>
Loading…
Cancel
Save