diff --git a/TestUnitaire/TestUnitaire.csproj b/TestUnitaire/TestUnitaire.csproj
index 581bd0c..afb6d17 100644
--- a/TestUnitaire/TestUnitaire.csproj
+++ b/TestUnitaire/TestUnitaire.csproj
@@ -27,6 +27,60 @@
4
+
+ ..\packages\Microsoft.AspNetCore.Connections.Abstractions.3.1.0\lib\netstandard2.0\Microsoft.AspNetCore.Connections.Abstractions.dll
+
+
+ ..\packages\Microsoft.AspNetCore.Http.Connections.Client.3.1.0\lib\netstandard2.0\Microsoft.AspNetCore.Http.Connections.Client.dll
+
+
+ ..\packages\Microsoft.AspNetCore.Http.Connections.Common.3.1.0\lib\netstandard2.0\Microsoft.AspNetCore.Http.Connections.Common.dll
+
+
+ ..\packages\Microsoft.AspNetCore.Http.Features.3.1.0\lib\netstandard2.0\Microsoft.AspNetCore.Http.Features.dll
+
+
+ ..\packages\Microsoft.AspNetCore.SignalR.Client.3.1.0\lib\netstandard2.0\Microsoft.AspNetCore.SignalR.Client.dll
+
+
+ ..\packages\Microsoft.AspNetCore.SignalR.Client.Core.3.1.0\lib\netstandard2.0\Microsoft.AspNetCore.SignalR.Client.Core.dll
+
+
+ ..\packages\Microsoft.AspNetCore.SignalR.Common.3.1.0\lib\netstandard2.0\Microsoft.AspNetCore.SignalR.Common.dll
+
+
+ ..\packages\Microsoft.AspNetCore.SignalR.Protocols.Json.3.1.0\lib\netstandard2.0\Microsoft.AspNetCore.SignalR.Protocols.Json.dll
+
+
+ ..\packages\Microsoft.Bcl.AsyncInterfaces.1.1.0\lib\net461\Microsoft.Bcl.AsyncInterfaces.dll
+
+
+ ..\packages\Microsoft.Extensions.Configuration.3.1.0\lib\netstandard2.0\Microsoft.Extensions.Configuration.dll
+
+
+ ..\packages\Microsoft.Extensions.Configuration.Abstractions.3.1.0\lib\netstandard2.0\Microsoft.Extensions.Configuration.Abstractions.dll
+
+
+ ..\packages\Microsoft.Extensions.Configuration.Binder.3.1.0\lib\netstandard2.0\Microsoft.Extensions.Configuration.Binder.dll
+
+
+ ..\packages\Microsoft.Extensions.DependencyInjection.3.1.0\lib\net461\Microsoft.Extensions.DependencyInjection.dll
+
+
+ ..\packages\Microsoft.Extensions.DependencyInjection.Abstractions.3.1.0\lib\netstandard2.0\Microsoft.Extensions.DependencyInjection.Abstractions.dll
+
+
+ ..\packages\Microsoft.Extensions.Logging.3.1.0\lib\netstandard2.0\Microsoft.Extensions.Logging.dll
+
+
+ ..\packages\Microsoft.Extensions.Logging.Abstractions.3.1.0\lib\netstandard2.0\Microsoft.Extensions.Logging.Abstractions.dll
+
+
+ ..\packages\Microsoft.Extensions.Options.3.1.0\lib\netstandard2.0\Microsoft.Extensions.Options.dll
+
+
+ ..\packages\Microsoft.Extensions.Primitives.3.1.0\lib\netstandard2.0\Microsoft.Extensions.Primitives.dll
+ ..\packages\MvvmCross.Plugin.BLE.2.1.1\lib\netstandard2.0\MvvmCross.Plugins.BLE.dll
@@ -43,6 +97,41 @@
..\packages\NUnit.3.12.0\lib\net45\nunit.framework.dll
+
+ ..\packages\System.Buffers.4.5.0\lib\netstandard2.0\System.Buffers.dll
+
+
+ ..\packages\System.ComponentModel.Annotations.4.7.0\lib\net461\System.ComponentModel.Annotations.dll
+
+
+
+ ..\packages\System.IO.Pipelines.4.7.0\lib\netstandard2.0\System.IO.Pipelines.dll
+
+
+ ..\packages\System.Memory.4.5.3\lib\netstandard2.0\System.Memory.dll
+
+
+
+ ..\packages\System.Numerics.Vectors.4.5.0\lib\net46\System.Numerics.Vectors.dll
+
+
+ ..\packages\System.Runtime.CompilerServices.Unsafe.4.7.0\lib\netstandard2.0\System.Runtime.CompilerServices.Unsafe.dll
+
+
+ ..\packages\System.Text.Encodings.Web.4.7.0\lib\netstandard2.0\System.Text.Encodings.Web.dll
+
+
+ ..\packages\System.Text.Json.4.7.0\lib\net461\System.Text.Json.dll
+
+
+ ..\packages\System.Threading.Channels.4.7.0\lib\netstandard2.0\System.Threading.Channels.dll
+
+
+ ..\packages\System.Threading.Tasks.Extensions.4.5.2\lib\netstandard2.0\System.Threading.Tasks.Extensions.dll
+
+
+ ..\packages\System.ValueTuple.4.5.0\lib\net47\System.ValueTuple.dll
+ ..\..\..\Microsoft\Xamarin\NuGet\xamarin.essentials\1.2.0\lib\xamarinios10\Xamarin.Essentials.dll
@@ -76,6 +165,7 @@
+
diff --git a/TestUnitaire/app.config b/TestUnitaire/app.config
new file mode 100644
index 0000000..f53f7b4
--- /dev/null
+++ b/TestUnitaire/app.config
@@ -0,0 +1,27 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/TestUnitaire/packages.config b/TestUnitaire/packages.config
index 540ca98..f1ac642 100644
--- a/TestUnitaire/packages.config
+++ b/TestUnitaire/packages.config
@@ -1,9 +1,38 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/TheGameExtreme.Android/Resources/Resource.designer.cs b/TheGameExtreme.Android/Resources/Resource.designer.cs
index e8629e3..2c35587 100644
--- a/TheGameExtreme.Android/Resources/Resource.designer.cs
+++ b/TheGameExtreme.Android/Resources/Resource.designer.cs
@@ -5794,67 +5794,70 @@ namespace TheGameExtreme.Droid
public const int ic_mtrl_chip_close_circle = 2131165289;
// aapt resource value: 0x7F07006A
- public const int LuneSombreTheme = 2131165290;
+ public const int Imagetirer1a6 = 2131165290;
// aapt resource value: 0x7F07006B
- public const int mtrl_snackbar_background = 2131165291;
+ public const int LuneSombreTheme = 2131165291;
// aapt resource value: 0x7F07006C
- public const int mtrl_tabs_default_indicator = 2131165292;
+ public const int mtrl_snackbar_background = 2131165292;
// aapt resource value: 0x7F07006D
- public const int navigation_empty_icon = 2131165293;
+ public const int mtrl_tabs_default_indicator = 2131165293;
// aapt resource value: 0x7F07006E
- public const int notification_action_background = 2131165294;
+ public const int navigation_empty_icon = 2131165294;
// aapt resource value: 0x7F07006F
- public const int notification_bg = 2131165295;
+ public const int notification_action_background = 2131165295;
// aapt resource value: 0x7F070070
- public const int notification_bg_low = 2131165296;
+ public const int notification_bg = 2131165296;
// aapt resource value: 0x7F070071
- public const int notification_bg_low_normal = 2131165297;
+ public const int notification_bg_low = 2131165297;
// aapt resource value: 0x7F070072
- public const int notification_bg_low_pressed = 2131165298;
+ public const int notification_bg_low_normal = 2131165298;
// aapt resource value: 0x7F070073
- public const int notification_bg_normal = 2131165299;
+ public const int notification_bg_low_pressed = 2131165299;
// aapt resource value: 0x7F070074
- public const int notification_bg_normal_pressed = 2131165300;
+ public const int notification_bg_normal = 2131165300;
// aapt resource value: 0x7F070075
- public const int notification_icon_background = 2131165301;
+ public const int notification_bg_normal_pressed = 2131165301;
// aapt resource value: 0x7F070076
- public const int notification_template_icon_bg = 2131165302;
+ public const int notification_icon_background = 2131165302;
// 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
- public const int notification_tile_bg = 2131165304;
+ public const int notification_template_icon_low_bg = 2131165304;
// aapt resource value: 0x7F070079
- public const int notify_panel_notification_icon_bg = 2131165305;
+ public const int notification_tile_bg = 2131165305;
// aapt resource value: 0x7F07007A
- public const int PointI = 2131165306;
+ public const int notify_panel_notification_icon_bg = 2131165306;
// aapt resource value: 0x7F07007B
- public const int SoleilThemes = 2131165307;
+ public const int PointI = 2131165307;
// aapt resource value: 0x7F07007C
- public const int tooltip_frame_dark = 2131165308;
+ public const int SoleilThemes = 2131165308;
// aapt resource value: 0x7F07007D
- public const int tooltip_frame_light = 2131165309;
+ public const int tooltip_frame_dark = 2131165309;
// 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()
{
diff --git a/TheGameExtreme.Android/Resources/drawable/Imagetirer1a6.png b/TheGameExtreme.Android/Resources/drawable/Imagetirer1a6.png
new file mode 100644
index 0000000..8908f58
Binary files /dev/null and b/TheGameExtreme.Android/Resources/drawable/Imagetirer1a6.png differ
diff --git a/TheGameExtreme.Android/TheGameExtreme.Android.csproj b/TheGameExtreme.Android/TheGameExtreme.Android.csproj
index f8cfaab..e19a179 100644
--- a/TheGameExtreme.Android/TheGameExtreme.Android.csproj
+++ b/TheGameExtreme.Android/TheGameExtreme.Android.csproj
@@ -57,6 +57,9 @@
+
+ 3.1.0
+ 1.2.0.223
@@ -142,5 +145,8 @@
+
+
+
\ No newline at end of file
diff --git a/TheGameExtreme.iOS/OrderStacks.csproj b/TheGameExtreme.iOS/OrderStacks.csproj
index 9103d6c..58a10e9 100644
--- a/TheGameExtreme.iOS/OrderStacks.csproj
+++ b/TheGameExtreme.iOS/OrderStacks.csproj
@@ -152,6 +152,9 @@
+
+ 3.1.0
+ 2.1.1
@@ -191,6 +194,7 @@
+
\ No newline at end of file
diff --git a/TheGameExtreme.iOS/Resources/Imagetirer1a6.png b/TheGameExtreme.iOS/Resources/Imagetirer1a6.png
new file mode 100644
index 0000000..8908f58
Binary files /dev/null and b/TheGameExtreme.iOS/Resources/Imagetirer1a6.png differ
diff --git a/TheGameExtreme/Resx/AppResources.Designer.cs b/TheGameExtreme/Resx/AppResources.Designer.cs
index c5619ec..d7678fe 100644
--- a/TheGameExtreme/Resx/AppResources.Designer.cs
+++ b/TheGameExtreme/Resx/AppResources.Designer.cs
@@ -267,19 +267,121 @@ namespace TheGameExtreme.Resx {
}
///
- /// Recherche une chaîne localisée semblable à - L'objectif est de battre la machine seul et/ou en coopération.
- ///
- /// - Afin d'atteindre l'objectif, les joueurs disposent de 4 piles (par défaut): deux piles ascendantes vertes et deux piles descendantes rouges.
- ///
- /// - Sur les piles ascendantes, le joueur doit poser des cartes plus grandes et inversement sur les piles descendantes.
- ///
- /// - 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é]";.
+ /// Recherche une chaîne localisée semblable à - L'objectif est de battre la machine seul et/ou en coopération..
+ ///
+ public static string StrTiret1 {
+ get {
+ return ResourceManager.GetString("StrTiret1", resourceCulture);
+ }
+ }
+
+ ///
+ /// Recherche une chaîne localisée semblable à - Une fois votre tour terminé, vous appuyez sur le boutton "Fin de tour" afin de passer au joueur suivant..
+ ///
+ public static string StrTiret10 {
+ get {
+ return ResourceManager.GetString("StrTiret10", resourceCulture);
+ }
+ }
+
+ ///
+ /// Recherche une chaîne localisée semblable à - La partie est finie quand toutes les cartes sont jouées ou quand le joueur dont c'est le tour ne peut plus jouer..
+ ///
+ public static string StrTiret11 {
+ get {
+ return ResourceManager.GetString("StrTiret11", resourceCulture);
+ }
+ }
+
+ ///
+ /// Recherche une chaîne localisée semblable à - 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..
+ ///
+ public static string StrTiret12 {
+ get {
+ return ResourceManager.GetString("StrTiret12", resourceCulture);
+ }
+ }
+
+ ///
+ /// 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.
+ ///
+ public static string StrTiret13 {
+ get {
+ return ResourceManager.GetString("StrTiret13", resourceCulture);
+ }
+ }
+
+ ///
+ /// Recherche une chaîne localisée semblable à - Afin d'atteindre l'objectif, les joueurs disposent de 4 piles (par défaut): deux piles ascendantes vertes et deux piles descendantes rouges..
+ ///
+ public static string StrTiret2 {
+ get {
+ return ResourceManager.GetString("StrTiret2", resourceCulture);
+ }
+ }
+
+ ///
+ /// 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..
+ ///
+ public static string StrTiret3 {
+ get {
+ return ResourceManager.GetString("StrTiret3", resourceCulture);
+ }
+ }
+
+ ///
+ /// Recherche une chaîne localisée semblable à - Le but est de poser les 98 cartes du jeu sur les différentes piles à votre disposition..
+ ///
+ public static string StrTiret4 {
+ get {
+ return ResourceManager.GetString("StrTiret4", resourceCulture);
+ }
+ }
+
+ ///
+ /// Recherche une chaîne localisée semblable à - Pour jouer, il suffit de faire glisser une carte sur la pile que vous avez décidé..
+ ///
+ public static string StrTiret5 {
+ get {
+ return ResourceManager.GetString("StrTiret5", resourceCulture);
+ }
+ }
+
+ ///
+ /// Recherche une chaîne localisée semblable à - 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..
+ ///
+ public static string StrTiret6 {
+ get {
+ return ResourceManager.GetString("StrTiret6", resourceCulture);
+ }
+ }
+
+ ///
+ /// 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''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..
+ ///
+ public static string StrTiret7 {
+ get {
+ return ResourceManager.GetString("StrTiret7", resourceCulture);
+ }
+ }
+
+ ///
+ /// Recherche une chaîne localisée semblable à - Ex : Sur une pile descendante, nous avons 68 => Nous pouvons alors poser 78.
+ /// Sur une pile ascendante, nous avons à nouveau 68 => Nous pouvons poser 58..
+ ///
+ public static string StrTiret8 {
+ get {
+ return ResourceManager.GetString("StrTiret8", resourceCulture);
+ }
+ }
+
+ ///
+ /// Recherche une chaîne localisée semblable à - 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..
///
- public static string StrRules {
+ public static string StrTiret9 {
get {
- return ResourceManager.GetString("StrRules", resourceCulture);
+ return ResourceManager.GetString("StrTiret9", resourceCulture);
}
}
diff --git a/TheGameExtreme/Resx/AppResources.en-US.resx b/TheGameExtreme/Resx/AppResources.en-US.resx
index 6f5f93c..b8dbc77 100644
--- a/TheGameExtreme/Resx/AppResources.en-US.resx
+++ b/TheGameExtreme/Resx/AppResources.en-US.resx
@@ -191,37 +191,46 @@ An opportunity to change the theme of the application through the images of the
Retry
-
- - Objective is to beat the machine alone and / or in cooperation.
-
-So that the user is 4 players (default): two ascending (Green) and two descendants (Red).
-
-- Ascending piles.
-
-- The goal is to put the 98 cards of the game on different piles at your disposal.
-(To do this, the rules of the game turn below)
-
-- To play, just slide a card on the pile that you have decided.
-
-This card must be well understood.
-
-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.
-
-- Ex: On a falling stack, we have 68 => We can then ask 78
-On an ascending stack, we have again 68 => We can ask 58 or any numbers larger than 68.
-
-- Each player must play at least two cards per turn.
-There is therefore no maximum limit to the card to be played per round. However, it is advisable in most cases.
-
-- One Time Tour, You are How to Buy "End of Tour" in order to pass to the next player.
-
-- The end of the game occurs when all cards are played or when the player whose turn it is can not play.
-
-- To the Preparing Party, Turning Display, Screen View Player Number of Player and Pseudo, The Type of Game.
-
-- The type of game allows to define the cards with you will play: relative, decimal ...
-
-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. "
+
+ - The goal is to beat the machine alone and / or in cooperation.
+
+
+ - Once your turn is over, you press the end of turn button to move to the next player.
+
+
+ - The game is over when all cards are played or when the player whose turn it is can not play.
+
+
+ - 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.
+
+
+ - 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
+
+
+ - In order to reach the goal, players have 4 stacks (default): two green rising stacks and two red falling stacks.
+
+
+ - On ascending stacks, the player must place larger cards and vice versa on the stacks.
+
+
+ - The goal is to put the 98 cards of the game on the different piles at your disposal.
+
+
+ - To play, just drag a card on the stack you have decided.
+
+
+ - This card must be larger than the one already present if it is an ascending stack and smaller if it is the opposite.
+
+
+ - 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.
+
+
+ - Ex: On a falling stack, we have 68 => We can then ask 78.
+ On an ascending pile, we have again 68 => We can ask 58.
+
+
+ - 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.OrderStacks
diff --git a/TheGameExtreme/Resx/AppResources.en.resx b/TheGameExtreme/Resx/AppResources.en.resx
index 6f5f93c..b8dbc77 100644
--- a/TheGameExtreme/Resx/AppResources.en.resx
+++ b/TheGameExtreme/Resx/AppResources.en.resx
@@ -191,37 +191,46 @@ An opportunity to change the theme of the application through the images of the
Retry
-
- - Objective is to beat the machine alone and / or in cooperation.
-
-So that the user is 4 players (default): two ascending (Green) and two descendants (Red).
-
-- Ascending piles.
-
-- The goal is to put the 98 cards of the game on different piles at your disposal.
-(To do this, the rules of the game turn below)
-
-- To play, just slide a card on the pile that you have decided.
-
-This card must be well understood.
-
-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.
-
-- Ex: On a falling stack, we have 68 => We can then ask 78
-On an ascending stack, we have again 68 => We can ask 58 or any numbers larger than 68.
-
-- Each player must play at least two cards per turn.
-There is therefore no maximum limit to the card to be played per round. However, it is advisable in most cases.
-
-- One Time Tour, You are How to Buy "End of Tour" in order to pass to the next player.
-
-- The end of the game occurs when all cards are played or when the player whose turn it is can not play.
-
-- To the Preparing Party, Turning Display, Screen View Player Number of Player and Pseudo, The Type of Game.
-
-- The type of game allows to define the cards with you will play: relative, decimal ...
-
-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. "
+
+ - The goal is to beat the machine alone and / or in cooperation.
+
+
+ - Once your turn is over, you press the end of turn button to move to the next player.
+
+
+ - The game is over when all cards are played or when the player whose turn it is can not play.
+
+
+ - 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.
+
+
+ - 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
+
+
+ - In order to reach the goal, players have 4 stacks (default): two green rising stacks and two red falling stacks.
+
+
+ - On ascending stacks, the player must place larger cards and vice versa on the stacks.
+
+
+ - The goal is to put the 98 cards of the game on the different piles at your disposal.
+
+
+ - To play, just drag a card on the stack you have decided.
+
+
+ - This card must be larger than the one already present if it is an ascending stack and smaller if it is the opposite.
+
+
+ - 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.
+
+
+ - Ex: On a falling stack, we have 68 => We can then ask 78.
+ On an ascending pile, we have again 68 => We can ask 58.
+
+
+ - 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.OrderStacks
diff --git a/TheGameExtreme/Resx/AppResources.resx b/TheGameExtreme/Resx/AppResources.resx
index 83fa041..c60abaf 100644
--- a/TheGameExtreme/Resx/AppResources.resx
+++ b/TheGameExtreme/Resx/AppResources.resx
@@ -191,34 +191,46 @@ Une possibilité de changer le thème de l'application grâce aux images du sole
Rejouer
-
- - L'objectif est de battre la machine seul et/ou en coopération.
-
- - Afin d'atteindre l'objectif, les joueurs disposent de 4 piles (par défaut): deux piles ascendantes vertes et deux piles descendantes rouges.
-
- - Sur les piles ascendantes, le joueur doit poser des cartes plus grandes et inversement sur les piles descendantes.
-
- - 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 pile que vous avez décidé.
-
- - 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.
-
- - 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.
-
- - Ex : Sur une pile descendante, nous avons 68 => Nous pouvons alors poser 78.
- Sur une pile ascendante, nous avons à nouveau 68 => Nous pouvons poser 58.
-
- - 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.
-
- - Une fois votre tour terminé, vous appuyez sur le boutton "Fin de tour" afin de passer au joueur suivant.
-
- - La partie est finie quand toutes les cartes sont jouées ou quand le joueur dont c'est le tour ne peut plus jouer.
-
- - 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.
-
- - 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
+
+ - L'objectif est de battre la machine seul et/ou en coopération.
+
+
+ - Une fois votre tour terminé, vous appuyez sur le boutton "Fin de tour" afin de passer au joueur suivant.
+
+
+ - La partie est finie quand toutes les cartes sont jouées ou quand le joueur dont c'est le tour ne peut plus jouer.
+
+
+ - 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.
+
+
+ - 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
+
+
+ - Afin d'atteindre l'objectif, les joueurs disposent de 4 piles (par défaut): deux piles ascendantes vertes et deux piles descendantes rouges.
+
+
+ - Sur les piles ascendantes, le joueur doit poser des cartes plus grandes et inversement sur les piles descendantes.
+
+
+ - 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 pile que vous avez décidé.
+
+
+ - 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.
+
+
+ - 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.
+
+
+ - Ex : Sur une pile descendante, nous avons 68 => Nous pouvons alors poser 78.
+ Sur une pile ascendante, nous avons à nouveau 68 => Nous pouvons poser 58.
+
+
+ - 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.OrderStacks
diff --git a/TheGameExtreme/TheGameExtreme.csproj b/TheGameExtreme/TheGameExtreme.csproj
index feb8d05..cfe7c38 100644
--- a/TheGameExtreme/TheGameExtreme.csproj
+++ b/TheGameExtreme/TheGameExtreme.csproj
@@ -6,6 +6,7 @@
+
@@ -77,6 +78,9 @@
MSBuild:UpdateDesignTimeXaml
+
+ MSBuild:UpdateDesignTimeXaml
+
diff --git a/TheGameExtreme/view/MultiPlayerMode.xaml b/TheGameExtreme/view/MultiPlayerMode.xaml
index 44deda1..14c8738 100644
--- a/TheGameExtreme/view/MultiPlayerMode.xaml
+++ b/TheGameExtreme/view/MultiPlayerMode.xaml
@@ -3,6 +3,7 @@
@@ -50,7 +51,8 @@
VerticalOptions="Center"
HorizontalOptions="Center"
CornerRadius="10"
- Clicked="Button_Clicked"
+ Clicked="Button_ClickedCo"
+ x:Name="connectButton"
BackgroundColor="{DynamicResource SkyBlueColor}"/>
diff --git a/TheGameExtreme/view/MultiPlayerMode.xaml.cs b/TheGameExtreme/view/MultiPlayerMode.xaml.cs
index 4d07f47..ec5333b 100644
--- a/TheGameExtreme/view/MultiPlayerMode.xaml.cs
+++ b/TheGameExtreme/view/MultiPlayerMode.xaml.cs
@@ -1,28 +1,22 @@
-using MvvmCross;
-using Plugin.BLE;
-using Plugin.BLE.Abstractions.Contracts;
+using Microsoft.AspNetCore.SignalR.Client;
using System;
-using System.Collections.ObjectModel;
+using System.Threading.Tasks;
using Xamarin.Forms;
-using SocketIO.Client;
-using System.Net.Sockets;
-using System.Net.WebSockets;
namespace TheGameExtreme.view
{
public partial class MultiPlayerMode : ContentPage
- {
-
+ {
+
public MultiPlayerMode()
{
InitializeComponent();
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é());
}
}
}
diff --git a/TheGameExtreme/view/RulesGame.xaml b/TheGameExtreme/view/RulesGame.xaml
index ca41a10..e64a1ea 100644
--- a/TheGameExtreme/view/RulesGame.xaml
+++ b/TheGameExtreme/view/RulesGame.xaml
@@ -61,7 +61,57 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/TheGameExtreme/view/Testconnectivité.xaml b/TheGameExtreme/view/Testconnectivité.xaml
new file mode 100644
index 0000000..0812312
--- /dev/null
+++ b/TheGameExtreme/view/Testconnectivité.xaml
@@ -0,0 +1,62 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/TheGameExtreme/view/Testconnectivité.xaml.cs b/TheGameExtreme/view/Testconnectivité.xaml.cs
new file mode 100644
index 0000000..3c40fcc
--- /dev/null
+++ b/TheGameExtreme/view/Testconnectivité.xaml.cs
@@ -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("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);
+ }
+ }*/
+ }
+}
\ No newline at end of file
diff --git a/UnitTestProjectGame/UnitTestProjectGame.csproj b/UnitTestProjectGame/UnitTestProjectGame.csproj
index 4930909..aedc489 100644
--- a/UnitTestProjectGame/UnitTestProjectGame.csproj
+++ b/UnitTestProjectGame/UnitTestProjectGame.csproj
@@ -40,6 +40,60 @@
4
+
+ ..\packages\Microsoft.AspNetCore.Connections.Abstractions.3.1.0\lib\netstandard2.0\Microsoft.AspNetCore.Connections.Abstractions.dll
+
+
+ ..\packages\Microsoft.AspNetCore.Http.Connections.Client.3.1.0\lib\netstandard2.0\Microsoft.AspNetCore.Http.Connections.Client.dll
+
+
+ ..\packages\Microsoft.AspNetCore.Http.Connections.Common.3.1.0\lib\netstandard2.0\Microsoft.AspNetCore.Http.Connections.Common.dll
+
+
+ ..\packages\Microsoft.AspNetCore.Http.Features.3.1.0\lib\netstandard2.0\Microsoft.AspNetCore.Http.Features.dll
+
+
+ ..\packages\Microsoft.AspNetCore.SignalR.Client.3.1.0\lib\netstandard2.0\Microsoft.AspNetCore.SignalR.Client.dll
+
+
+ ..\packages\Microsoft.AspNetCore.SignalR.Client.Core.3.1.0\lib\netstandard2.0\Microsoft.AspNetCore.SignalR.Client.Core.dll
+
+
+ ..\packages\Microsoft.AspNetCore.SignalR.Common.3.1.0\lib\netstandard2.0\Microsoft.AspNetCore.SignalR.Common.dll
+
+
+ ..\packages\Microsoft.AspNetCore.SignalR.Protocols.Json.3.1.0\lib\netstandard2.0\Microsoft.AspNetCore.SignalR.Protocols.Json.dll
+
+
+ ..\packages\Microsoft.Bcl.AsyncInterfaces.1.1.0\lib\net461\Microsoft.Bcl.AsyncInterfaces.dll
+
+
+ ..\packages\Microsoft.Extensions.Configuration.3.1.0\lib\netstandard2.0\Microsoft.Extensions.Configuration.dll
+
+
+ ..\packages\Microsoft.Extensions.Configuration.Abstractions.3.1.0\lib\netstandard2.0\Microsoft.Extensions.Configuration.Abstractions.dll
+
+
+ ..\packages\Microsoft.Extensions.Configuration.Binder.3.1.0\lib\netstandard2.0\Microsoft.Extensions.Configuration.Binder.dll
+
+
+ ..\packages\Microsoft.Extensions.DependencyInjection.3.1.0\lib\net461\Microsoft.Extensions.DependencyInjection.dll
+
+
+ ..\packages\Microsoft.Extensions.DependencyInjection.Abstractions.3.1.0\lib\netstandard2.0\Microsoft.Extensions.DependencyInjection.Abstractions.dll
+
+
+ ..\packages\Microsoft.Extensions.Logging.3.1.0\lib\netstandard2.0\Microsoft.Extensions.Logging.dll
+
+
+ ..\packages\Microsoft.Extensions.Logging.Abstractions.3.1.0\lib\netstandard2.0\Microsoft.Extensions.Logging.Abstractions.dll
+
+
+ ..\packages\Microsoft.Extensions.Options.3.1.0\lib\netstandard2.0\Microsoft.Extensions.Options.dll
+
+
+ ..\packages\Microsoft.Extensions.Primitives.3.1.0\lib\netstandard2.0\Microsoft.Extensions.Primitives.dll
+ ..\packages\MSTest.TestFramework.1.3.2\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.dll
@@ -59,7 +113,42 @@
..\packages\Rg.Plugins.Popup.1.2.0.223\lib\netstandard1.0\Rg.Plugins.Popup.dll
+
+ ..\packages\System.Buffers.4.5.0\lib\netstandard2.0\System.Buffers.dll
+
+
+ ..\packages\System.ComponentModel.Annotations.4.7.0\lib\net461\System.ComponentModel.Annotations.dll
+
+
+
+ ..\packages\System.IO.Pipelines.4.7.0\lib\netstandard2.0\System.IO.Pipelines.dll
+
+
+ ..\packages\System.Memory.4.5.3\lib\netstandard2.0\System.Memory.dll
+
+
+
+ ..\packages\System.Numerics.Vectors.4.5.0\lib\net46\System.Numerics.Vectors.dll
+
+
+ ..\packages\System.Runtime.CompilerServices.Unsafe.4.7.0\lib\netstandard2.0\System.Runtime.CompilerServices.Unsafe.dll
+
+
+ ..\packages\System.Text.Encodings.Web.4.7.0\lib\netstandard2.0\System.Text.Encodings.Web.dll
+
+
+ ..\packages\System.Text.Json.4.7.0\lib\net461\System.Text.Json.dll
+
+
+ ..\packages\System.Threading.Channels.4.7.0\lib\netstandard2.0\System.Threading.Channels.dll
+
+
+ ..\packages\System.Threading.Tasks.Extensions.4.5.2\lib\netstandard2.0\System.Threading.Tasks.Extensions.dll
+
+
+ ..\packages\System.ValueTuple.4.5.0\lib\net47\System.ValueTuple.dll
+ ..\packages\Xamarin.Forms.2.5.0.121934\lib\netstandard1.0\Xamarin.Forms.Core.dll
@@ -75,6 +164,7 @@
+
diff --git a/UnitTestProjectGame/app.config b/UnitTestProjectGame/app.config
new file mode 100644
index 0000000..f53f7b4
--- /dev/null
+++ b/UnitTestProjectGame/app.config
@@ -0,0 +1,27 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/UnitTestProjectGame/packages.config b/UnitTestProjectGame/packages.config
index 962327c..f40b6f3 100644
--- a/UnitTestProjectGame/packages.config
+++ b/UnitTestProjectGame/packages.config
@@ -1,9 +1,38 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file