@ -1,8 +1,4 @@
|
||||
Mono-utilisateur:
|
||||
- Multilangue
|
||||
- Changer les thèmes et les couleurs (en option) V => pour l'instant thème blanc et noir
|
||||
- Option pour mettre/enlever le pas de 10
|
||||
- gérer les différents pas pour les différents deck (multiples, etc...)
|
||||
- Largeur carte pour millième V
|
||||
- Génération fraction -> toutes celles qui ont un chiffre au numérateur et/ou au dénominateur unique + les fractions ayant un numérateur et un dénominateur entre 1 et 25 puis si non suffisant, entre 1 et 50
|
||||
- Bluetooth
|
Before Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 153 KiB |
Before Width: | Height: | Size: 4.1 KiB |
Before Width: | Height: | Size: 104 KiB |
Before Width: | Height: | Size: 7.5 KiB |
Before Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 48 KiB |
After Width: | Height: | Size: 6.1 KiB |
After Width: | Height: | Size: 6.1 KiB |
After Width: | Height: | Size: 16 KiB |
After Width: | Height: | Size: 2.9 KiB |
After Width: | Height: | Size: 10 KiB |
After Width: | Height: | Size: 13 KiB |
After Width: | Height: | Size: 569 B |
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 854 B |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 3.0 KiB |
After Width: | Height: | Size: 3.0 KiB |
After Width: | Height: | Size: 2.0 KiB |
After Width: | Height: | Size: 2.0 KiB |
After Width: | Height: | Size: 3.6 KiB |
Before Width: | Height: | Size: 69 KiB |
Before Width: | Height: | Size: 3.7 KiB |
Before Width: | Height: | Size: 4.6 KiB |
Before Width: | Height: | Size: 4.6 KiB |
Before Width: | Height: | Size: 5.1 KiB |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 845 B |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 2.4 KiB |
Before Width: | Height: | Size: 2.7 KiB |
After Width: | Height: | Size: 152 KiB |
Before Width: | Height: | Size: 104 KiB |
Before Width: | Height: | Size: 48 KiB |
Before Width: | Height: | Size: 153 KiB |
Before Width: | Height: | Size: 8.7 KiB |
Before Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 34 KiB |
Before Width: | Height: | Size: 7.1 KiB |
Before Width: | Height: | Size: 8.2 KiB |
Before Width: | Height: | Size: 4.1 KiB |
Before Width: | Height: | Size: 104 KiB |
Before Width: | Height: | Size: 131 KiB |
Before Width: | Height: | Size: 58 KiB |
Before Width: | Height: | Size: 7.5 KiB |
After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 26 KiB |
Before Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 205 KiB After Width: | Height: | Size: 360 KiB |
After Width: | Height: | Size: 106 KiB |
After Width: | Height: | Size: 134 KiB |
@ -0,0 +1,269 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="StrAcendingStack" xml:space="preserve">
|
||||
<value>Pile ascendante</value>
|
||||
</data>
|
||||
<data name="StrBtnPlay" xml:space="preserve">
|
||||
<value>Jouer</value>
|
||||
</data>
|
||||
<data name="StrCantGetStack" xml:space="preserve">
|
||||
<value>La pile n'est pas disponnible</value>
|
||||
</data>
|
||||
<data name="StrCardDoesntExist" xml:space="preserve">
|
||||
<value>La carte n'existe pas </value>
|
||||
</data>
|
||||
<data name="StrCardPlayedLessThanTwo" xml:space="preserve">
|
||||
<value>Vous devez jouer au minimum deux cartes par tour</value>
|
||||
</data>
|
||||
<data name="StrCloseWind" xml:space="preserve">
|
||||
<value>Fermer</value>
|
||||
</data>
|
||||
<data name="StrDownStack" xml:space="preserve">
|
||||
<value>Pile descendante</value>
|
||||
</data>
|
||||
<data name="StrEndTurn" xml:space="preserve">
|
||||
<value>Fin de tour</value>
|
||||
</data>
|
||||
<data name="StrEnterPseudo" xml:space="preserve">
|
||||
<value>Entrez votre pseudo</value>
|
||||
</data>
|
||||
<data name="String3" xml:space="preserve">
|
||||
<value>La partie est terminée</value>
|
||||
</data>
|
||||
<data name="String4" xml:space="preserve">
|
||||
<value>Bravo vous avez gagné!</value>
|
||||
</data>
|
||||
<data name="StrLocalGame" xml:space="preserve">
|
||||
<value>Jeu en local</value>
|
||||
</data>
|
||||
<data name="StrLose" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
<data name="StrMultiplayer" xml:space="preserve">
|
||||
<value>Multijoueur</value>
|
||||
</data>
|
||||
<data name="StrNbCards" xml:space="preserve">
|
||||
<value>Nombre de cartes :</value>
|
||||
</data>
|
||||
<data name="StrNbPlayers" xml:space="preserve">
|
||||
<value>Nombre de joueurs :</value>
|
||||
</data>
|
||||
<data name="StrNbStacksInGame" xml:space="preserve">
|
||||
<value>Nombre de piles en jeu :</value>
|
||||
</data>
|
||||
<data name="StrPlayerSelections" xml:space="preserve">
|
||||
<value> Veuillez choisir un nombre de joueur ainsi que leur(s) nom(s)</value>
|
||||
</data>
|
||||
<data name="StrPseudoGM" xml:space="preserve">
|
||||
<value>Entrez votre pseudo :</value>
|
||||
</data>
|
||||
<data name="StrRules" xml:space="preserve">
|
||||
<value> - L'objectif est de battre la machine seul et/ou en coopération.
|
||||
|
||||
<<<<<<< HEAD
|
||||
- Afin d'atteindre l'objectif, les joueurs disposent de 4 piles (par defaut) : deux ascendantes(Verte) et deux descendantes(Rouge).
|
||||
=======
|
||||
- Afin d'atteindre l'objectif, les joueurs disposent de 4 piles (par défaut): deux piles ascendantes vertes et deux piles descendantes rouges.
|
||||
>>>>>>> 3badad823975148fed6467984295274bc7006685
|
||||
|
||||
- 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.
|
||||
<<<<<<< HEAD
|
||||
(Pour ce faire confer les règles de tour de jeu ci-dessous)
|
||||
=======
|
||||
>>>>>>> 3badad823975148fed6467984295274bc7006685
|
||||
|
||||
- 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.
|
||||
|
||||
<<<<<<< HEAD
|
||||
- Ex: Sur une pile descendante, nous avons 68 => Nous pouvons alors poser 78 ou n'importe quels nombres plus petits que 68.
|
||||
Sur une pile ascendante, nous avons à nouveau 68 => Nous pouvons poser 58 ou n'importe quels nombres plus grands que 68.
|
||||
|
||||
- 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 de sa main.
|
||||
=======
|
||||
- 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.
|
||||
>>>>>>> 3badad823975148fed6467984295274bc7006685
|
||||
|
||||
- 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.
|
||||
|
||||
<<<<<<< HEAD
|
||||
- Le type de jeu permet de définir les cartes avec lesquelles vous allez jouer: relatif, décimal...
|
||||
|
||||
- le nombre de piles correspond au nombre de piles initial sur lesquelles vous pourrez poser des cartes.
|
||||
La moitié des piles sont toujours ascendantes et l'autre moitié sont quant à elles toujours descendantes.
|
||||
Par ailleurs, plus le nombre de piles est important plus le jeu est facile.</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>
|
||||
>>>>>>> 3badad823975148fed6467984295274bc7006685
|
||||
</data>
|
||||
<data name="StrTitle" xml:space="preserve">
|
||||
<value>OrderStacks</value>
|
||||
</data>
|
||||
<data name="StrTitleRules" xml:space="preserve">
|
||||
<value>Règles</value>
|
||||
</data>
|
||||
<data name="StrValueType" xml:space="preserve">
|
||||
<value>Jouer avec des valeurs :</value>
|
||||
</data>
|
||||
<data name="StrWin" xml:space="preserve">
|
||||
<value>Félicitation vous avez gagné</value>
|
||||
</data>
|
||||
<data name="StrWrongStack" xml:space="preserve">
|
||||
<value>La carte choisie ne convient pas</value>
|
||||
</data>
|
||||
<data name="TypeValuefractionated" xml:space="preserve">
|
||||
<value>Fractionnées</value>
|
||||
</data>
|
||||
<data name="TypeValuehundredth" xml:space="preserve">
|
||||
<value>Décimales (2 chiffres)</value>
|
||||
</data>
|
||||
<data name="TypeValueRelative" xml:space="preserve">
|
||||
<value>Relatives</value>
|
||||
</data>
|
||||
<data name="TypeValueTens" xml:space="preserve">
|
||||
<value>Décimales (1 chiffre)</value>
|
||||
</data>
|
||||
<data name="TypeValuethousandth" xml:space="preserve">
|
||||
<value>Décimales (3 chiffres)</value>
|
||||
</data>
|
||||
<data name="TypeValueWhole" xml:space="preserve">
|
||||
<value>Entière</value>
|
||||
</data>
|
||||
<data name="WhiteTheme" xml:space="preserve">
|
||||
<value>Thème clair :</value>
|
||||
</data>
|
||||
<data name="WrongPseudo" xml:space="preserve">
|
||||
<value>Erreur pseudo :</value>
|
||||
</data>
|
||||
</root>
|
@ -1,200 +0,0 @@
|
||||
<?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"
|
||||
x:Class="TheGameExtreme.view.GamePreparationPage">
|
||||
|
||||
<ScrollView>
|
||||
<Grid
|
||||
Margin="5,0,5,5">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="10*" />
|
||||
<RowDefinition Height="90*" />
|
||||
|
||||
</Grid.RowDefinitions>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="50*" />
|
||||
<ColumnDefinition Width="50*" />
|
||||
</Grid.ColumnDefinitions>
|
||||
|
||||
<StackLayout
|
||||
Grid.Row="0"
|
||||
Grid.Column="0">
|
||||
<ImageButton Source="ArrowSettingsBack.png"
|
||||
VerticalOptions="Start"
|
||||
HorizontalOptions="StartAndExpand"
|
||||
HeightRequest="40"
|
||||
WidthRequest="50"
|
||||
Clicked="Back"
|
||||
BackgroundColor="Transparent"
|
||||
Margin="10,5,0,0"/>
|
||||
</StackLayout>
|
||||
|
||||
<StackLayout
|
||||
Grid.Row="0"
|
||||
Grid.Column="1">
|
||||
|
||||
<Button
|
||||
Text="Play"
|
||||
Clicked="Play"
|
||||
HorizontalOptions="End"
|
||||
MinimumWidthRequest="30"
|
||||
WidthRequest="100"
|
||||
BackgroundColor="{DynamicResource SkyBlueColor}"
|
||||
CornerRadius="10"
|
||||
Margin="0,5,10,0"/>
|
||||
|
||||
</StackLayout>
|
||||
|
||||
|
||||
|
||||
<Grid
|
||||
Grid.Row="1"
|
||||
Grid.Column="1">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="10*" />
|
||||
<RowDefinition Height="10*" />
|
||||
<RowDefinition Height="10*" />
|
||||
<RowDefinition Height="10*" />
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<StackLayout
|
||||
Grid.Row="0"
|
||||
Margin="0,0,10,0"
|
||||
Orientation="Vertical">
|
||||
<Label Text="Nombre de joueur : "
|
||||
TextColor="{DynamicResource WhiteColor}"
|
||||
FontSize="16"
|
||||
VerticalTextAlignment="Center"
|
||||
HorizontalTextAlignment="Center"/>
|
||||
<Picker
|
||||
x:Name="PlayerSelecter"
|
||||
BackgroundColor="{DynamicResource SkyBlueColor}"
|
||||
SelectedIndexChanged="ChangedPseudo"
|
||||
HorizontalOptions="Center"
|
||||
VerticalOptions="Center"
|
||||
MinimumWidthRequest="30"
|
||||
WidthRequest="100"
|
||||
Margin="0,0,10,0"/>
|
||||
</StackLayout>
|
||||
|
||||
<StackLayout
|
||||
Grid.Row="1"
|
||||
Margin="0,0,10,0">
|
||||
<Label Text="Jouer avec des valeurs :"
|
||||
TextColor="{DynamicResource WhiteColor}"
|
||||
FontSize="16"
|
||||
VerticalTextAlignment="Center"
|
||||
HorizontalTextAlignment="Center"/>
|
||||
<Picker
|
||||
x:Name="SelectMode"
|
||||
BackgroundColor="{DynamicResource SkyBlueColor}"
|
||||
|
||||
HorizontalOptions="Center"
|
||||
VerticalOptions="Center"
|
||||
MinimumWidthRequest="30"
|
||||
WidthRequest="100"
|
||||
Margin="0,0,10,0"/>
|
||||
</StackLayout>
|
||||
|
||||
<StackLayout
|
||||
Grid.Row="0"
|
||||
Grid.Column="2"
|
||||
Margin="0,0,20,0">
|
||||
|
||||
<Label Text="Nombre de pile en jeu :"
|
||||
TextColor="{DynamicResource WhiteColor}"
|
||||
FontSize="16"
|
||||
VerticalTextAlignment="Center"
|
||||
HorizontalTextAlignment="Center"/>
|
||||
<Picker x:Name="SelectNbStack"
|
||||
BackgroundColor="{DynamicResource SkyBlueColor}"
|
||||
|
||||
Margin="0,0,10,0"
|
||||
MinimumWidthRequest="30"
|
||||
WidthRequest="100"
|
||||
HorizontalOptions="Center"
|
||||
VerticalOptions="Center"/>
|
||||
</StackLayout>
|
||||
|
||||
<StackLayout
|
||||
Grid.Row="1"
|
||||
Grid.Column="2"
|
||||
Margin="0,0,20,0">
|
||||
|
||||
<Label Text="Nombre de cartes:"
|
||||
TextColor="{DynamicResource WhiteColor}"
|
||||
FontSize="16"
|
||||
VerticalTextAlignment="Center"
|
||||
HorizontalTextAlignment="Center"/>
|
||||
<Picker x:Name="SelectNbCard"
|
||||
BackgroundColor="{DynamicResource SkyBlueColor}"
|
||||
|
||||
Margin="0,0,10,0"
|
||||
MinimumWidthRequest="30"
|
||||
WidthRequest="100"
|
||||
HorizontalOptions="Center"
|
||||
VerticalOptions="Center"/>
|
||||
</StackLayout>
|
||||
|
||||
</Grid>
|
||||
<<<<<<< HEAD
|
||||
|
||||
<StackLayout
|
||||
x:Name="NameList"
|
||||
=======
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<!--<StackLayout
|
||||
Grid.Row="0"
|
||||
Grid.Column="0"
|
||||
Margin="50,30,50,0">
|
||||
<Label Text="Nom des joueurs"
|
||||
TextColor="{DynamicResource WhiteColor}"
|
||||
FontSize="16"
|
||||
VerticalTextAlignment="Center"
|
||||
HorizontalTextAlignment="Center"/>
|
||||
</StackLayout>-->
|
||||
|
||||
<ScrollView
|
||||
>>>>>>> 0a2872694d54a6c5d0dc0475d2c05d9fc914ee7c
|
||||
Grid.Column="0"
|
||||
Grid.Row="1"
|
||||
Margin="10,0,0,0">
|
||||
|
||||
<StackLayout
|
||||
x:Name="NameList">
|
||||
|
||||
<Label
|
||||
Text="Entrer vos pseudo ici:"
|
||||
TextColor="{DynamicResource WhiteColor}"
|
||||
FontSize="16"
|
||||
VerticalTextAlignment="Center"
|
||||
HorizontalTextAlignment="Center"/>
|
||||
|
||||
<Entry
|
||||
BackgroundColor="{DynamicResource SkyBlueColor}"
|
||||
Placeholder="Pseudo"
|
||||
HorizontalOptions="Center"
|
||||
MinimumWidthRequest="50"
|
||||
<<<<<<< HEAD
|
||||
WidthRequest="200"
|
||||
MaxLength="18"/>
|
||||
|
||||
=======
|
||||
WidthRequest="200"/>
|
||||
</StackLayout>
|
||||
>>>>>>> 0a2872694d54a6c5d0dc0475d2c05d9fc914ee7c
|
||||
|
||||
</ScrollView>
|
||||
|
||||
</Grid>
|
||||
</ScrollView>
|
||||
|
||||
</ContentPage>
|
@ -0,0 +1,175 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ContentPage
|
||||
Title="THEGAME"
|
||||
BackgroundColor="{DynamicResource BlackColor}"
|
||||
xmlns="http://xamarin.com/schemas/2014/forms"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||
xmlns:resources="clr-namespace:TheGameExtreme.Resx"
|
||||
x:Class="TheGameExtreme.view.HomePage"
|
||||
x:Name="homepageT">
|
||||
|
||||
<<<<<<< HEAD
|
||||
<StackLayout BackgroundColor="Transparent">
|
||||
|
||||
<Grid x:Name="MainGrid">
|
||||
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="15*"/>
|
||||
<ColumnDefinition Width="70*"/>
|
||||
<ColumnDefinition Width="15*"/>
|
||||
</Grid.ColumnDefinitions>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="19*"/>
|
||||
<RowDefinition Height="27*"/>
|
||||
<RowDefinition Height="27*"/>
|
||||
<RowDefinition Height="27*"/>
|
||||
<RowDefinition Height="27*"/>
|
||||
</Grid.RowDefinitions>
|
||||
=======
|
||||
<Grid
|
||||
Margin="5,5,5,5">
|
||||
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="15*"/>
|
||||
<ColumnDefinition Width="70*"/>
|
||||
<ColumnDefinition Width="15*"/>
|
||||
</Grid.ColumnDefinitions>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="31*"/>
|
||||
<RowDefinition Height="23*"/>
|
||||
<RowDefinition Height="23*"/>
|
||||
<RowDefinition Height="23*"/>
|
||||
</Grid.RowDefinitions>
|
||||
>>>>>>> 3badad823975148fed6467984295274bc7006685
|
||||
|
||||
<Label
|
||||
Text="{x:Static resources:AppResources.StrTitle}"
|
||||
TextColor="{DynamicResource WhiteColor}"
|
||||
Grid.Row="0"
|
||||
Grid.Column="1"
|
||||
HorizontalTextAlignment="Center"
|
||||
FontSize="45"
|
||||
VerticalTextAlignment="Start"
|
||||
FontFamily=""/>
|
||||
|
||||
<<<<<<< HEAD
|
||||
|
||||
|
||||
<Button
|
||||
Text="{x:Static resources:AppResources.StrLocalGame}"
|
||||
FontSize="18"
|
||||
Grid.Row="2"
|
||||
Grid.Column="1"
|
||||
HorizontalOptions="Center"
|
||||
WidthRequest="230"
|
||||
HeightRequest="57"
|
||||
VerticalOptions="Center"
|
||||
Clicked="OpenGame"
|
||||
CornerRadius="10"
|
||||
BackgroundColor="{DynamicResource SkyBlueColor}"/>
|
||||
|
||||
|
||||
<Button
|
||||
Text="{x:Static resources:AppResources.StrMultiplayer}"
|
||||
FontSize="18"
|
||||
Grid.Row="3"
|
||||
Grid.Column="1"
|
||||
HorizontalOptions="Center"
|
||||
VerticalOptions="Center"
|
||||
HeightRequest="57"
|
||||
WidthRequest="230"
|
||||
Clicked="OpenMultiPlayerMode"
|
||||
CornerRadius="10"
|
||||
BackgroundColor="{DynamicResource SkyBlueColor}"/>
|
||||
|
||||
<Button Text="{x:Static resources:AppResources.StrTitleRules}"
|
||||
FontSize="18"
|
||||
Grid.Row="4"
|
||||
Grid.Column="1"
|
||||
HorizontalOptions="Center"
|
||||
VerticalOptions="Center"
|
||||
HeightRequest="57"
|
||||
WidthRequest="230"
|
||||
Clicked="Rules_Clicked"
|
||||
CornerRadius="10"
|
||||
BackgroundColor="{DynamicResource SkyBlueColor}"/>
|
||||
|
||||
<Image Source="TrierImageB.png"
|
||||
Grid.Column="1"
|
||||
Grid.Row="1"/>
|
||||
|
||||
|
||||
<Grid Grid.Row="0" Grid.Column="2" x:Name="ButtonGrid">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="2*"/>
|
||||
<RowDefinition Height="6*"/>
|
||||
</Grid.RowDefinitions>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="2*" />
|
||||
<ColumnDefinition Width="6*" />
|
||||
</Grid.ColumnDefinitions>
|
||||
|
||||
<ImageButton
|
||||
x:Name="imageButton"
|
||||
Grid.Column="1"
|
||||
Grid.Row="1"
|
||||
VerticalOptions="End"
|
||||
HorizontalOptions="Center"
|
||||
Clicked="Theme_Clicked"
|
||||
BorderColor="{DynamicResource SkyBlueColor}"
|
||||
BackgroundColor="Transparent"/>
|
||||
</Grid>
|
||||
=======
|
||||
<ImageButton
|
||||
Source="EngrenageV1.png"
|
||||
Grid.Row="0"
|
||||
Grid.Column="2"
|
||||
VerticalOptions="StartAndExpand"
|
||||
HorizontalOptions="End"
|
||||
HeightRequest="60"
|
||||
WidthRequest="68"
|
||||
Clicked="OpenSetting"
|
||||
BackgroundColor="{DynamicResource BlackColor}"/>
|
||||
|
||||
<Button
|
||||
Text="{x:Static resources:AppResources.StrLocalGame}"
|
||||
FontSize="18"
|
||||
Grid.Row="1"
|
||||
Grid.Column="1"
|
||||
HorizontalOptions="Center"
|
||||
WidthRequest="230"
|
||||
HeightRequest="57"
|
||||
VerticalOptions="Center"
|
||||
Clicked="OpenGame"
|
||||
CornerRadius="10"
|
||||
BackgroundColor="{DynamicResource SkyBlueColor}"/>
|
||||
|
||||
|
||||
<Button
|
||||
Text="{x:Static resources:AppResources.StrMultiplayer}"
|
||||
FontSize="18"
|
||||
Grid.Row="2"
|
||||
Grid.Column="1"
|
||||
HorizontalOptions="Center"
|
||||
VerticalOptions="Center"
|
||||
HeightRequest="57"
|
||||
WidthRequest="230"
|
||||
Clicked="OpenMultiPlayerMode"
|
||||
CornerRadius="10"
|
||||
BackgroundColor="{DynamicResource SkyBlueColor}"/>
|
||||
>>>>>>> 3badad823975148fed6467984295274bc7006685
|
||||
|
||||
<ImageButton
|
||||
Source="imagesRules.png"
|
||||
Grid.Column="0"
|
||||
Grid.Row="0"
|
||||
HeightRequest="50"
|
||||
WidthRequest="35"
|
||||
VerticalOptions="StartAndExpand"
|
||||
HorizontalOptions="Start"
|
||||
Clicked="Rules_Clicked"
|
||||
BackgroundColor="{DynamicResource BlackColor}"/>
|
||||
|
||||
</Grid>
|
||||
|
||||
</ContentPage>
|