Mise au point des regles avec différentes vues

master
Baptiste ARNAUD 5 years ago
parent 58bd9315db
commit 55ef49b5d5

@ -5776,88 +5776,88 @@ namespace TheGameExtreme.Droid
public const int EngrenageV1 = 2131165283; public const int EngrenageV1 = 2131165283;
// aapt resource value: 0x7F070064 // aapt resource value: 0x7F070064
public const int ExempleJeu = 2131165284; public const int GMOS = 2131165284;
// aapt resource value: 0x7F070065 // aapt resource value: 0x7F070065
public const int ExempleJeu1 = 2131165285; public const int HomeIcon = 2131165285;
// aapt resource value: 0x7F070066 // aapt resource value: 0x7F070066
public const int HomeIcon = 2131165286; public const int ic_mtrl_chip_checked_black = 2131165286;
// aapt resource value: 0x7F070067 // aapt resource value: 0x7F070067
public const int ic_mtrl_chip_checked_black = 2131165287; public const int ic_mtrl_chip_checked_circle = 2131165287;
// aapt resource value: 0x7F070068 // aapt resource value: 0x7F070068
public const int ic_mtrl_chip_checked_circle = 2131165288; public const int ic_mtrl_chip_close_circle = 2131165288;
// aapt resource value: 0x7F070069 // aapt resource value: 0x7F070069
public const int ic_mtrl_chip_close_circle = 2131165289; public const int Imagetirer1a6 = 2131165289;
// aapt resource value: 0x7F07006A // aapt resource value: 0x7F07006A
public const int Imagetirer1a6 = 2131165290; public const int LuneSombreTheme = 2131165290;
// aapt resource value: 0x7F07006B // aapt resource value: 0x7F07006B
public const int LuneSombreTheme = 2131165291; public const int mtrl_snackbar_background = 2131165291;
// aapt resource value: 0x7F07006C // aapt resource value: 0x7F07006C
public const int mtrl_snackbar_background = 2131165292; public const int mtrl_tabs_default_indicator = 2131165292;
// aapt resource value: 0x7F07006D // aapt resource value: 0x7F07006D
public const int mtrl_tabs_default_indicator = 2131165293; public const int navigation_empty_icon = 2131165293;
// aapt resource value: 0x7F07006E // aapt resource value: 0x7F07006E
public const int navigation_empty_icon = 2131165294; public const int notification_action_background = 2131165294;
// aapt resource value: 0x7F07006F // aapt resource value: 0x7F07006F
public const int notification_action_background = 2131165295; public const int notification_bg = 2131165295;
// aapt resource value: 0x7F070070 // aapt resource value: 0x7F070070
public const int notification_bg = 2131165296; public const int notification_bg_low = 2131165296;
// aapt resource value: 0x7F070071 // aapt resource value: 0x7F070071
public const int notification_bg_low = 2131165297; public const int notification_bg_low_normal = 2131165297;
// aapt resource value: 0x7F070072 // aapt resource value: 0x7F070072
public const int notification_bg_low_normal = 2131165298; public const int notification_bg_low_pressed = 2131165298;
// aapt resource value: 0x7F070073 // aapt resource value: 0x7F070073
public const int notification_bg_low_pressed = 2131165299; public const int notification_bg_normal = 2131165299;
// aapt resource value: 0x7F070074 // aapt resource value: 0x7F070074
public const int notification_bg_normal = 2131165300; public const int notification_bg_normal_pressed = 2131165300;
// aapt resource value: 0x7F070075 // aapt resource value: 0x7F070075
public const int notification_bg_normal_pressed = 2131165301; public const int notification_icon_background = 2131165301;
// aapt resource value: 0x7F070076 // aapt resource value: 0x7F070076
public const int notification_icon_background = 2131165302; public const int notification_template_icon_bg = 2131165302;
// aapt resource value: 0x7F070077 // aapt resource value: 0x7F070077
public const int notification_template_icon_bg = 2131165303; public const int notification_template_icon_low_bg = 2131165303;
// aapt resource value: 0x7F070078 // aapt resource value: 0x7F070078
public const int notification_template_icon_low_bg = 2131165304; public const int notification_tile_bg = 2131165304;
// aapt resource value: 0x7F070079 // aapt resource value: 0x7F070079
public const int notification_tile_bg = 2131165305; public const int notify_panel_notification_icon_bg = 2131165305;
// aapt resource value: 0x7F07007A // aapt resource value: 0x7F07007A
public const int notify_panel_notification_icon_bg = 2131165306; public const int PointI = 2131165306;
// aapt resource value: 0x7F07007B // aapt resource value: 0x7F07007B
public const int PointI = 2131165307; public const int soleil = 2131165307;
// aapt resource value: 0x7F07007C // aapt resource value: 0x7F07007C
public const int SoleilThemes = 2131165308; public const int tooltip_frame_dark = 2131165308;
// aapt resource value: 0x7F07007D // aapt resource value: 0x7F07007D
public const int tooltip_frame_dark = 2131165309; public const int tooltip_frame_light = 2131165309;
// aapt resource value: 0x7F07007E // aapt resource value: 0x7F07007E
public const int tooltip_frame_light = 2131165310; public const int TrierImageB = 2131165310;
// aapt resource value: 0x7F07007F // aapt resource value: 0x7F07007F
public const int TrierImageB = 2131165311; public const int UpDownStacks = 2131165311;
static Drawable() static Drawable()
{ {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 55 KiB

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

@ -134,19 +134,19 @@
<AndroidResource Include="Resources\drawable\LuneSombreTheme.png" /> <AndroidResource Include="Resources\drawable\LuneSombreTheme.png" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<AndroidResource Include="Resources\drawable\SoleilThemes.png" /> <AndroidResource Include="Resources\drawable\PointI.png" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<AndroidResource Include="Resources\drawable\PointI.png" /> <AndroidResource Include="Resources\drawable\GMOS.png" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<AndroidResource Include="Resources\drawable\ExempleJeu.png" /> <AndroidResource Include="Resources\drawable\Imagetirer1a6.png" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<AndroidResource Include="Resources\drawable\ExempleJeu1.png" /> <AndroidResource Include="Resources\drawable\UpDownStacks.png" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<AndroidResource Include="Resources\drawable\Imagetirer1a6.png" /> <AndroidResource Include="Resources\drawable\soleil.png" />
</ItemGroup> </ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.CSharp.targets" /> <Import Project="$(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.CSharp.targets" />
</Project> </Project>

@ -76,15 +76,9 @@
<None Include="Entitlements.plist" /> <None Include="Entitlements.plist" />
<None Include="Info.plist" /> <None Include="Info.plist" />
<Compile Include="Properties\AssemblyInfo.cs" /> <Compile Include="Properties\AssemblyInfo.cs" />
<BundleResource Include="Resources\FontStyle\IndieFlower.ttf" />
<BundleResource Include="Resources\FontStyle\ENSOTYPE License &amp; FAQ - DO READ THIS!.pdf" />
<BundleResource Include="Resources\FontStyle\Ruhaniyat DEMO.otf" />
<BundleResource Include="Resources\EngrenageV1.png" />
<BundleResource Include="Resources\TrierImageB.ico" />
<BundleResource Include="TrierImageB.ico" /> <BundleResource Include="TrierImageB.ico" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<InterfaceDefinition Include="Resources\LaunchScreen.storyboard" />
<ImageAsset Include="Assets.xcassets\AppIcon.appiconset\Contents.json"> <ImageAsset Include="Assets.xcassets\AppIcon.appiconset\Contents.json">
<Visible>false</Visible> <Visible>false</Visible>
</ImageAsset> </ImageAsset>
@ -177,24 +171,23 @@
<Name>TheGameExtreme</Name> <Name>TheGameExtreme</Name>
</ProjectReference> </ProjectReference>
</ItemGroup> </ItemGroup>
<ItemGroup>
<BundleResource Include="Resources\FontStyle\SIL Open Font License.txt" />
</ItemGroup>
<ItemGroup>
<BundleResource Include="Resources\ArrowSettingsBack.png" />
<BundleResource Include="Resources\HomeIcon.png" />
</ItemGroup>
<ItemGroup> <ItemGroup>
<ITunesArtwork Include="iTunesArtwork" /> <ITunesArtwork Include="iTunesArtwork" />
<ITunesArtwork Include="iTunesArtwork%402x" /> <ITunesArtwork Include="iTunesArtwork%402x" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<BundleResource Include="Resources\SoleilThemes.png" /> <BundleResource Include="Ressources\ArrowSettingsBack.png" />
<BundleResource Include="Resources\LuneSombreTheme.png" /> <BundleResource Include="Ressources\EngrenageV1.png" />
<BundleResource Include="Resources\PointI.png" /> <BundleResource Include="Ressources\GMOS.png" />
<BundleResource Include="Resources\TrierImageB.png" /> <BundleResource Include="Ressources\HomeIcon.png" />
<BundleResource Include="Resources\ExempleJeu.png" /> <BundleResource Include="Ressources\Imagetirer1a6.png" />
<BundleResource Include="Resources\Imagetirer1a6.png" /> <BundleResource Include="Ressources\LuneSombreTheme.png" />
<BundleResource Include="Ressources\PointI.png" />
<BundleResource Include="Ressources\SoleilThemes.png" />
<BundleResource Include="Ressources\TrierImageB.png" />
<BundleResource Include="Ressources\UpDownStacks.png" />
<BundleResource Include="Ressources\soleil.png" />
<Content Include="TrierImageB.ico" /> <Content Include="TrierImageB.ico" />
</ItemGroup> </ItemGroup>
<ItemGroup />
</Project> </Project>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 58 KiB

@ -1,43 +0,0 @@
Copyright (c) 2010, Kimberly Geswein (kimberlygeswein.com)
This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at: http://scripts.sil.org/OFL
-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------
PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide development of collaborative font projects, to support the font creation efforts of academic and linguistic communities, and to provide a free and open framework in which fonts may be shared and improved in partnership with others.
The OFL allows the licensed fonts to be used, studied, modified and redistributed freely as long as they are not sold by themselves. The fonts, including any derivative works, can be bundled, embedded, redistributed and/or sold with any software provided that any reserved names are not used by derivative works. The fonts and derivatives, however, cannot be released under any other type of license. The requirement for fonts to remain under this license does not apply to any document created using the fonts or their derivatives.
DEFINITIONS
"Font Software" refers to the set of files released by the Copyright Holder(s) under this license and clearly marked as such. This may include source files, build scripts and documentation.
"Reserved Font Name" refers to any names specified as such after the copyright statement(s).
"Original Version" refers to the collection of Font Software components as distributed by the Copyright Holder(s).
"Modified Version" refers to any derivative made by adding to, deleting, or substituting -- in part or in whole -- any of the components of the Original Version, by changing formats or by porting the Font Software to a new environment.
"Author" refers to any designer, engineer, programmer, technical writer or other person who contributed to the Font Software.
PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining a copy of the Font Software, to use, study, copy, merge, embed, modify, redistribute, and sell modified and unmodified copies of the Font Software, subject to the following conditions:
1) Neither the Font Software nor any of its individual components, in Original or Modified Versions, may be sold by itself.
2) Original or Modified Versions of the Font Software may be bundled, redistributed and/or sold with any software, provided that each copy contains the above copyright notice and this license. These can be included either as stand-alone text files, human-readable headers or in the appropriate machine-readable metadata fields within text or binary files as long as those fields can be easily viewed by the user.
3) No Modified Version of the Font Software may use the Reserved Font Name(s) unless explicit written permission is granted by the corresponding Copyright Holder. This restriction only applies to the primary font name as presented to the users.
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font Software shall not be used to promote, endorse or advertise any Modified Version, except to acknowledge the contribution(s) of the Copyright Holder(s) and the Author(s) or with their explicit written permission.
5) The Font Software, modified or unmodified, in part or in whole, must be distributed entirely under this license, and must not be distributed under any other license. The requirement for fonts to remain under this license does not apply to any document created using the Font Software.
TERMINATION
This license becomes null and void if any of the above conditions are not met.
DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 55 KiB

@ -1,39 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="6245" systemVersion="13F34" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="X5k-f2-b5h">
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="6238" />
</dependencies>
<scenes>
<!--View Controller-->
<scene sceneID="gAE-YM-kbH">
<objects>
<viewController id="X5k-f2-b5h" sceneMemberID="viewController">
<layoutGuides>
<viewControllerLayoutGuide type="top" id="Y8P-hJ-Z43" />
<viewControllerLayoutGuide type="bottom" id="9ZL-r4-8FZ" />
</layoutGuides>
<view key="view" contentMode="scaleToFill" id="yd7-JS-zBw">
<rect key="frame" x="0.0" y="0.0" width="600" height="600" />
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES" />
<subviews>
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" misplaced="YES" image="Icon-60.png" translatesAutoresizingMaskIntoConstraints="NO" id="23">
<rect key="frame" x="270" y="270" width="60" height="60" />
<rect key="contentStretch" x="0.0" y="0.0" width="0.0" height="0.0" />
</imageView>
</subviews>
<color key="backgroundColor" red="0.20392156862745098" green="0.59607843137254901" blue="0.85882352941176465" alpha="1" colorSpace="calibratedRGB" />
<constraints>
<constraint firstItem="23" firstAttribute="centerY" secondItem="yd7-JS-zBw" secondAttribute="centerY" priority="1" id="39" />
<constraint firstItem="23" firstAttribute="centerX" secondItem="yd7-JS-zBw" secondAttribute="centerX" priority="1" id="41" />
</constraints>
</view>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="XAI-xm-WK6" userLabel="First Responder" sceneMemberID="firstResponder" />
</objects>
<point key="canvasLocation" x="349" y="339" />
</scene>
</scenes>
<resources>
<image name="Icon-60.png" width="180" height="180" />
</resources>
</document>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 360 KiB

Before

Width:  |  Height:  |  Size: 9.5 KiB

After

Width:  |  Height:  |  Size: 9.5 KiB

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Before

Width:  |  Height:  |  Size: 7.3 KiB

After

Width:  |  Height:  |  Size: 7.3 KiB

Before

Width:  |  Height:  |  Size: 6.9 KiB

After

Width:  |  Height:  |  Size: 6.9 KiB

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

@ -239,6 +239,15 @@ namespace TheGameExtreme.Resx {
} }
} }
/// <summary>
/// Recherche une chaîne localisée semblable à Suivant.
/// </summary>
public static string StrNext {
get {
return ResourceManager.GetString("StrNext", resourceCulture);
}
}
/// <summary> /// <summary>
/// Recherche une chaîne localisée semblable à Veuillez choisir un nombre de joueur ainsi que leur(s) nom(s). /// Recherche une chaîne localisée semblable à Veuillez choisir un nombre de joueur ainsi que leur(s) nom(s).
/// </summary> /// </summary>
@ -366,8 +375,8 @@ namespace TheGameExtreme.Resx {
} }
/// <summary> /// <summary>
/// Recherche une chaîne localisée semblable à - Ex : Sur une pile descendante, nous avons 68 =&gt; Nous pouvons alors poser 78. /// Recherche une chaîne localisée semblable à - Ex : Sur une pile descendante, nous avons 22 =&gt; Nous pouvons alors poser 32.
/// Sur une pile ascendante, nous avons à nouveau 68 =&gt; Nous pouvons poser 58.. /// Sur une pile ascendante, nous avons 16 =&gt; Nous pouvons poser 6..
/// </summary> /// </summary>
public static string StrTiret8 { public static string StrTiret8 {
get { get {

@ -182,6 +182,9 @@ An opportunity to change the theme of the application through the images of the
<data name="StrNbStacksInGame" xml:space="preserve"> <data name="StrNbStacksInGame" xml:space="preserve">
<value>Number of stacks :</value> <value>Number of stacks :</value>
</data> </data>
<data name="StrNext" xml:space="preserve">
<value>Next</value>
</data>
<data name="StrPlayerSelections" xml:space="preserve"> <data name="StrPlayerSelections" xml:space="preserve">
<value>Please choose a number of players and their name(s)</value> <value>Please choose a number of players and their name(s)</value>
</data> </data>
@ -225,8 +228,8 @@ An opportunity to change the theme of the application through the images of the
<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> <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>
<data name="StrTiret8" xml:space="preserve"> <data name="StrTiret8" xml:space="preserve">
<value>- Ex: On a falling stack, we have 68 =&gt; We can then ask 78. <value>- Ex: On a falling stack, we have 22 =&gt; We can then ask 32.
On an ascending pile, we have again 68 =&gt; We can ask 58.</value> On an ascending pile, we have again 16 =&gt; We can ask 6.</value>
</data> </data>
<data name="StrTiret9" xml:space="preserve"> <data name="StrTiret9" xml:space="preserve">
<value>- Each player must play at least two cards per turn. <value>- Each player must play at least two cards per turn.

@ -182,6 +182,9 @@ An opportunity to change the theme of the application through the images of the
<data name="StrNbStacksInGame" xml:space="preserve"> <data name="StrNbStacksInGame" xml:space="preserve">
<value>Number of stacks :</value> <value>Number of stacks :</value>
</data> </data>
<data name="StrNext" xml:space="preserve">
<value>Next</value>
</data>
<data name="StrPlayerSelections" xml:space="preserve"> <data name="StrPlayerSelections" xml:space="preserve">
<value>Please choose a number of players and their name(s)</value> <value>Please choose a number of players and their name(s)</value>
</data> </data>
@ -225,8 +228,8 @@ An opportunity to change the theme of the application through the images of the
<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> <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>
<data name="StrTiret8" xml:space="preserve"> <data name="StrTiret8" xml:space="preserve">
<value>- Ex: On a falling stack, we have 68 =&gt; We can then ask 78. <value>- Ex: On a falling stack, we have 22 =&gt; We can then ask 32.
On an ascending pile, we have again 68 =&gt; We can ask 58.</value> On an ascending pile, we have 16 =&gt; We can ask 6.</value>
</data> </data>
<data name="StrTiret9" xml:space="preserve"> <data name="StrTiret9" xml:space="preserve">
<value>- Each player must play at least two cards per turn. <value>- Each player must play at least two cards per turn.

@ -182,6 +182,9 @@ Une possibilité de changer le thème de l'application grâce aux images du sole
<data name="StrNbStacksInGame" xml:space="preserve"> <data name="StrNbStacksInGame" xml:space="preserve">
<value>Nombre de piles en jeu :</value> <value>Nombre de piles en jeu :</value>
</data> </data>
<data name="StrNext" xml:space="preserve">
<value>Suivant</value>
</data>
<data name="StrPlayerSelections" xml:space="preserve"> <data name="StrPlayerSelections" xml:space="preserve">
<value> Veuillez choisir un nombre de joueur ainsi que leur(s) nom(s)</value> <value> Veuillez choisir un nombre de joueur ainsi que leur(s) nom(s)</value>
</data> </data>
@ -225,8 +228,8 @@ Une possibilité de changer le thème de l'application grâce aux images du sole
<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> <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>
<data name="StrTiret8" xml:space="preserve"> <data name="StrTiret8" xml:space="preserve">
<value>- Ex : Sur une pile descendante, nous avons 68 =&gt; Nous pouvons alors poser 78. <value>- Ex : Sur une pile descendante, nous avons 22 =&gt; Nous pouvons alors poser 32.
Sur une pile ascendante, nous avons à nouveau 68 =&gt; Nous pouvons poser 58.</value> Sur une pile ascendante, nous avons 16 =&gt; Nous pouvons poser 6.</value>
</data> </data>
<data name="StrTiret9" xml:space="preserve"> <data name="StrTiret9" xml:space="preserve">
<value>- Chaque joueur doit jouer au minimum deux cartes par tour. <value>- Chaque joueur doit jouer au minimum deux cartes par tour.

@ -75,9 +75,15 @@
<EmbeddedResource Update="DictionnaireBGCWhite.xaml"> <EmbeddedResource Update="DictionnaireBGCWhite.xaml">
<Generator>MSBuild:UpdateDesignTimeXaml</Generator> <Generator>MSBuild:UpdateDesignTimeXaml</Generator>
</EmbeddedResource> </EmbeddedResource>
<EmbeddedResource Update="view\LastPage_Rules.xaml">
<Generator>MSBuild:UpdateDesignTimeXaml</Generator>
</EmbeddedResource>
<EmbeddedResource Update="view\RulesGame.xaml"> <EmbeddedResource Update="view\RulesGame.xaml">
<Generator>MSBuild:UpdateDesignTimeXaml</Generator> <Generator>MSBuild:UpdateDesignTimeXaml</Generator>
</EmbeddedResource> </EmbeddedResource>
<EmbeddedResource Update="view\secondePageRules.xaml">
<Generator>MSBuild:UpdateDesignTimeXaml</Generator>
</EmbeddedResource>
<EmbeddedResource Update="view\Testconnectivité.xaml"> <EmbeddedResource Update="view\Testconnectivité.xaml">
<Generator>MSBuild:UpdateDesignTimeXaml</Generator> <Generator>MSBuild:UpdateDesignTimeXaml</Generator>
</EmbeddedResource> </EmbeddedResource>

@ -43,7 +43,7 @@ namespace TheGameExtreme.view
IOGamePreparation.SaveParameterGamePreparationNbStacks(SelectNbStack.SelectedIndex); IOGamePreparation.SaveParameterGamePreparationNbStacks(SelectNbStack.SelectedIndex);
IOGamePreparation.SaveParameterGamePreparationNbCards(SelectNbCard.SelectedIndex); IOGamePreparation.SaveParameterGamePreparationNbCards(SelectNbCard.SelectedIndex);
IOGamePreparation.SaveParameterGamePreparationName(FirstEntry.Text); IOGamePreparation.SaveParameterGamePreparationName(FirstEntry.Text);
await Navigation.PopAsync(); await Navigation.PopToRootAsync();
} }
protected override bool OnBackButtonPressed() protected override bool OnBackButtonPressed()

@ -108,7 +108,7 @@
VerticalOptions="End" VerticalOptions="End"
HorizontalOptions="Center" HorizontalOptions="Center"
Clicked="Theme_Clicked" Clicked="Theme_Clicked"
BorderColor="{DynamicResource SkyBlueColor}"
BackgroundColor="Transparent"/> BackgroundColor="Transparent"/>
</Grid> </Grid>

@ -39,7 +39,7 @@ namespace TheGameExtreme.view
{ {
Application.Current.Resources["BlackColor"] = Color.Black; Application.Current.Resources["BlackColor"] = Color.Black;
Application.Current.Resources["WhiteColor"] = Color.White; Application.Current.Resources["WhiteColor"] = Color.White;
imageButton.Source = "SoleilThemes.png"; imageButton.Source = "soleil.png";
} }
else else
{ {
@ -76,7 +76,7 @@ namespace TheGameExtreme.view
BackgroundColor = Color.Transparent, BackgroundColor = Color.Transparent,
BorderColor = (Color)Application.Current.Resources["SkyBlueColor"] BorderColor = (Color)Application.Current.Resources["SkyBlueColor"]
}; };
imageButton.Source = "SoleilThemes.png"; imageButton.Source = "soleil.png";
} }
ButtonGrid.Children.Add(imageButton, 1, 1); ButtonGrid.Children.Add(imageButton, 1, 1);
imageButton.Clicked += Theme_Clicked; imageButton.Clicked += Theme_Clicked;

@ -0,0 +1,93 @@
<?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"
x:Class="TheGameExtreme.view.LastPage_Rules"
xmlns:resources="clr-namespace:TheGameExtreme.Resx">
<Grid Margin="20,20,20,20">
<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="{x:Static resources:AppResources.StrTitleRules}"
VerticalOptions="Center"
HorizontalOptions="Center"
Grid.Column="1"
Grid.Row="0"
FontSize="35"
TextColor="{DynamicResource WhiteColor}"/>
<Button Text="{x:Static resources:AppResources.StrBtnPlay}"
Grid.Row="0"
Grid.Column="2"
BackgroundColor="{DynamicResource SkyBlueColor}"
VerticalOptions="Center"
HorizontalOptions="Center"
CornerRadius="10"
Clicked="ClickToPlay"/>
<ImageButton Source="HomeIcon.png"
Grid.Column="0"
Grid.Row="0"
VerticalOptions="Start"
HorizontalOptions="StartAndExpand"
HeightRequest="50"
WidthRequest="60"
Clicked="BackToHome"
BackgroundColor="Transparent"/>
<ScrollView Grid.Row="1"
Grid.Column="0"
Grid.ColumnSpan="3"
Margin="20,0,20,0">
<StackLayout>
<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"
TextColor="{DynamicResource WhiteColor}"/>
<Image Source="GMOS.png"
WidthRequest="280"
HeightRequest="200"/>
</StackLayout>
</ScrollView>
</Grid>
</ContentPage>

@ -0,0 +1,30 @@
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 LastPage_Rules : ContentPage
{
public LastPage_Rules()
{
InitializeComponent();
NavigationPage.SetHasNavigationBar(this, false);
}
private async void BackToHome(object sender, EventArgs args)
{
await Navigation.PushAsync(new HomePage());
}
private async void ClickToPlay(object sender, EventArgs args)
{
await Navigation.PushAsync(new GamePreparationPage());
}
}
}

@ -15,6 +15,7 @@
<Grid.RowDefinitions> <Grid.RowDefinitions>
<RowDefinition Height="2*"/> <RowDefinition Height="2*"/>
<RowDefinition Height="10*"/> <RowDefinition Height="10*"/>
<RowDefinition Height="2*"/>
@ -35,7 +36,7 @@
FontSize="35" FontSize="35"
TextColor="{DynamicResource WhiteColor}"/> TextColor="{DynamicResource WhiteColor}"/>
<Button Text="Jouer" <Button Text="{x:Static resources:AppResources.StrBtnPlay}"
Grid.Row="0" Grid.Row="0"
Grid.Column="2" Grid.Column="2"
BackgroundColor="{DynamicResource SkyBlueColor}" BackgroundColor="{DynamicResource SkyBlueColor}"
@ -54,6 +55,15 @@
Clicked="BackToHome" Clicked="BackToHome"
BackgroundColor="Transparent"/> BackgroundColor="Transparent"/>
<Button Text="{x:Static resources:AppResources.StrNext}"
CornerRadius="10"
BackgroundColor="{DynamicResource SkyBlueColor}"
Grid.Column="1"
Grid.Row="2"
VerticalOptions="Center"
HorizontalOptions="Center"
Clicked="nextPage_Rules"/>
<ScrollView Grid.Row="1" <ScrollView Grid.Row="1"
Grid.Column="0" Grid.Column="0"
Grid.ColumnSpan="3" Grid.ColumnSpan="3"
@ -86,38 +96,6 @@
WidthRequest="280" WidthRequest="280"
HeightRequest="200"/> 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"
TextColor="{DynamicResource WhiteColor}"/>
<Image Source="ExempleJeu1.png"
WidthRequest="280"
HeightRequest="200"/>
</StackLayout> </StackLayout>
</ScrollView> </ScrollView>

@ -27,5 +27,11 @@ namespace TheGameExtreme.view
await Navigation.PushAsync(new GamePreparationPage()); await Navigation.PushAsync(new GamePreparationPage());
} }
private async void nextPage_Rules(object sender, EventArgs args)
{
await Navigation.PushAsync(new secondePageRules());
}
} }
} }

@ -0,0 +1,89 @@
<?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"
x:Class="TheGameExtreme.view.secondePageRules"
xmlns:resources="clr-namespace:TheGameExtreme.Resx">
<Grid Margin="20,20,20,20">
<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="{x:Static resources:AppResources.StrTitleRules}"
VerticalOptions="Center"
HorizontalOptions="Center"
Grid.Column="1"
Grid.Row="0"
FontSize="35"
TextColor="{DynamicResource WhiteColor}"/>
<Button Text="{x:Static resources:AppResources.StrBtnPlay}"
Grid.Row="0"
Grid.Column="2"
BackgroundColor="{DynamicResource SkyBlueColor}"
VerticalOptions="Center"
HorizontalOptions="Center"
CornerRadius="10"
Clicked="ClickToPlay"/>
<ImageButton Source="HomeIcon.png"
Grid.Column="0"
Grid.Row="0"
VerticalOptions="Start"
HorizontalOptions="StartAndExpand"
HeightRequest="50"
WidthRequest="60"
Clicked="BackToHome"
BackgroundColor="Transparent"/>
<Button Text="{x:Static resources:AppResources.StrNext}"
CornerRadius="10"
BackgroundColor="{DynamicResource SkyBlueColor}"
Grid.Column="1"
Grid.Row="2"
VerticalOptions="Center"
HorizontalOptions="Center"
Clicked="nextPage_Rules"/>
<ScrollView Grid.Row="1"
Grid.Column="0"
Grid.ColumnSpan="3"
Margin="20,0,20,0">
<StackLayout>
<Label
Text="{x:Static resources:AppResources.StrTiret7}"
FontSize="16"
TextColor="{DynamicResource WhiteColor}"/>
<Label
Text="{x:Static resources:AppResources.StrTiret8}"
FontSize="16"
TextColor="{DynamicResource WhiteColor}"/>
<Image Source="UpDownStacks.png"
WidthRequest="280"
HeightRequest="200"/>
</StackLayout>
</ScrollView>
</Grid>
</ContentPage>

@ -0,0 +1,35 @@
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 secondePageRules : ContentPage
{
public secondePageRules()
{
InitializeComponent();
NavigationPage.SetHasNavigationBar(this, false);
}
private async void BackToHome(object sender, EventArgs args)
{
await Navigation.PushAsync(new HomePage());
}
private async void ClickToPlay(object sender, EventArgs args)
{
await Navigation.PushAsync(new GamePreparationPage());
}
private async void nextPage_Rules(object sender, EventArgs args)
{
await Navigation.PushAsync(new LastPage_Rules());
}
}
}
Loading…
Cancel
Save