commit 21010009b514ac71411eff0d74b26a7ef8876f63 Author: adri Date: Sat May 19 20:02:21 2018 +0200 Initial commit diff --git a/go01.sln b/go01.sln new file mode 100644 index 0000000..32e5abc --- /dev/null +++ b/go01.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 15 +VisualStudioVersion = 15.0.27130.2020 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "go01", "go01\go01.csproj", "{56673C2C-6651-4470-B1E3-5D85F5B95BFE}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {56673C2C-6651-4470-B1E3-5D85F5B95BFE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {56673C2C-6651-4470-B1E3-5D85F5B95BFE}.Debug|Any CPU.Build.0 = Debug|Any CPU + {56673C2C-6651-4470-B1E3-5D85F5B95BFE}.Release|Any CPU.ActiveCfg = Release|Any CPU + {56673C2C-6651-4470-B1E3-5D85F5B95BFE}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {7AD66250-09BB-4864-9623-8A090C6D6730} + EndGlobalSection +EndGlobal diff --git a/go01/App.config b/go01/App.config new file mode 100644 index 0000000..731f6de --- /dev/null +++ b/go01/App.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/go01/Form1.Designer.cs b/go01/Form1.Designer.cs new file mode 100644 index 0000000..94e46d6 --- /dev/null +++ b/go01/Form1.Designer.cs @@ -0,0 +1,65 @@ +namespace go01 +{ + partial class Form1 + { + /// + /// Variable nécessaire au concepteur. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Nettoyage des ressources utilisées. + /// + /// true si les ressources managées doivent être supprimées ; sinon, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Code généré par le Concepteur Windows Form + + /// + /// Méthode requise pour la prise en charge du concepteur - ne modifiez pas + /// le contenu de cette méthode avec l'éditeur de code. + /// + private void InitializeComponent() + { + this.pictureBox1 = new System.Windows.Forms.PictureBox(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); + this.SuspendLayout(); + // + // pictureBox1 + // + this.pictureBox1.Location = new System.Drawing.Point(13, 13); + this.pictureBox1.Name = "pictureBox1"; + this.pictureBox1.Size = new System.Drawing.Size(448, 448); + this.pictureBox1.TabIndex = 0; + this.pictureBox1.TabStop = false; + // + // Form1 + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(837, 474); + this.Controls.Add(this.pictureBox1); + this.MaximizeBox = false; + this.MinimizeBox = false; + this.Name = "Form1"; + this.ShowIcon = false; + this.ShowInTaskbar = false; + this.Text = "Form1"; + ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); + this.ResumeLayout(false); + + } + + #endregion + + private System.Windows.Forms.PictureBox pictureBox1; + } +} + diff --git a/go01/Form1.cs b/go01/Form1.cs new file mode 100644 index 0000000..77c1f7a --- /dev/null +++ b/go01/Form1.cs @@ -0,0 +1,51 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace go01 +{ + public partial class Form1 : Form + { + enum CouleurVoulue { Red, Green, Blue, Black, LAST } + CouleurVoulue[,] tableauCouleur = new CouleurVoulue[19,19]; + List pboxList = new List(); + Goban g; + public Form1() + { + InitializeComponent(); + + g = new Goban(this, pictureBox1,25, "Adri", "Pauline"); + + + /*for(int i = 0; i<19*19; i++) + { + pboxList.Add(new PictureBox()); + pboxList[i].Location = new Point((i%19)*(pictureBox1.Width / 19), (i/19)*(pictureBox1.Height / 19)); + pboxList[i].Width = pictureBox1.Width / 19; + pboxList[i].Height = pictureBox1.Height / 19; + pboxList[i].BackColor = Color.FromName(CouleurVoulue.Red.ToString()); + tableauCouleur[i % 19, i / 19] = CouleurVoulue.Red; + pboxList[i].Name = (i%19).ToString()+";"+ (i / 19).ToString(); + pboxList[i].Click += new System.EventHandler(this.pictureBox1_Click); + pictureBox1.Controls.Add(pboxList[i]); + }*/ + } + + private void pictureBox1_Click(object sender, EventArgs e) + { + String[] xy = ((PictureBox)sender).Name.Split(';'); + if (++tableauCouleur[int.Parse(xy[0]), int.Parse(xy[1])] == CouleurVoulue.LAST) + tableauCouleur[int.Parse(xy[0]), int.Parse(xy[1])] = CouleurVoulue.Red; + ((PictureBox)sender).BackColor = Color.FromName((tableauCouleur[int.Parse(xy[0]),int.Parse(xy[1])]).ToString()); + Console.WriteLine(((PictureBox)sender).Name); + } + + + } +} diff --git a/go01/Form1.resx b/go01/Form1.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/go01/Form1.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/go01/Goban.cs b/go01/Goban.cs new file mode 100644 index 0000000..2293755 --- /dev/null +++ b/go01/Goban.cs @@ -0,0 +1,213 @@ +using System; +using System.Collections.Generic; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + + +namespace go01 +{ + class Goban + { + public PictureBox Conteneur; + public Form Fenetre; + public int dim; + Label LabelPlayerTurn; + string playerWName, playerBName; + enum Occupant_E { Vide, Blanc, Noir, LAST} + public enum Joueur_E { Blanc, Noir, LAST} + Joueur_E tour; + Joueur_E Tour + { + get + { + return tour; + } + set + { + tour = value; + this.LabelPlayerTurn.Text = (tour==Joueur_E.Blanc)?playerWName:playerBName; + this.LabelPlayerTurn.ForeColor = (tour == Joueur_E.Blanc) ? Color.Gray : Color.Black; + this.LabelPlayerTurn.Location = new Point(Conteneur.Location.X + Conteneur.Width+((Fenetre.ClientSize.Width-Conteneur.Location.X-Conteneur.Width-LabelPlayerTurn.Width)/2), Conteneur.Location.Y); + /*using (Graphics gr = Graphics.FromHwnd(Fenetre.Handle)) + { + Font fbg = new System.Drawing.Font("Matura MT Script Capitals", 40F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + Font f = new System.Drawing.Font("Matura MT Script Capitals", 38F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + //gr.DrawString((tour == Joueur_E.Blanc) ? playerWName : playerBName, fbg, new SolidBrush(Color.Black), 0, 0); + SizeF stringSizebg = new SizeF(); + SizeF stringSize = new SizeF(); + stringSizebg = gr.MeasureString((tour == Joueur_E.Blanc) ? playerWName : playerBName, fbg); + stringSize = gr.MeasureString((tour == Joueur_E.Blanc) ? playerWName : playerBName, f); + + gr.DrawString((tour == Joueur_E.Blanc) ? playerWName : playerBName, fbg, new SolidBrush(Color.Black), new Point((int)(Conteneur.Location.X + Conteneur.Width + ((Fenetre.ClientSize.Width - Conteneur.Location.X - Conteneur.Width - stringSizebg.Width) / 2)), Conteneur.Location.Y)); + gr.DrawString((tour == Joueur_E.Blanc) ? playerWName : playerBName, f, new SolidBrush(Color.White), new Point((int)(Conteneur.Location.X + Conteneur.Width + ((Fenetre.ClientSize.Width - Conteneur.Location.X - Conteneur.Width - stringSizebg.Width) / 2) + (stringSizebg.Width - stringSize.Width) / 2), (int)(Conteneur.Location.Y + ((stringSizebg.Height - stringSize.Height) / 2)))); + }*/ + } + } + + Occupant_E[,] tableauOccupation; + Boolean[,] tabTeritoirBlanc, tabTeritoirNoir; + List pboxList = new List(); + public Goban(Form fenetre, PictureBox conteneur, int dim, string playerW, string playerB) + { + this.Conteneur = conteneur; + this.dim = dim; + this.Fenetre = fenetre; + + playerWName = playerW; + playerBName = playerB; + + //label qui indique à qui le tour + LabelPlayerTurn = new System.Windows.Forms.Label(); + this.LabelPlayerTurn.AutoSize = true; + this.LabelPlayerTurn.Font = new System.Drawing.Font("Matura MT Script Capitals", 40F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.LabelPlayerTurn.ForeColor = System.Drawing.SystemColors.ControlText; + this.LabelPlayerTurn.Location = new System.Drawing.Point(529, 13); + this.LabelPlayerTurn.Name = "LabelPlayerTurn"; + this.LabelPlayerTurn.TabIndex = 1; + this.LabelPlayerTurn.Text = "playerW"; + Fenetre.Controls.Add(this.LabelPlayerTurn); + Tour = Joueur_E.Noir; + + //gen des tab + tableauOccupation = new Occupant_E[dim, dim]; + tabTeritoirBlanc = new bool[dim, dim]; + tabTeritoirNoir = new bool[dim, dim]; + for (int i = 0; i < dim * dim; i++) //Genération du goban + { + pboxList.Add(new PictureBox()); + pboxList[i].Location = new Point((i % dim) * (conteneur.Width / dim), (i / dim) * (conteneur.Height / dim)); + pboxList[i].Width = conteneur.Width / dim; + pboxList[i].Height = conteneur.Height / dim; + pboxList[i].SizeMode = PictureBoxSizeMode.StretchImage; + if (GetX(i) == 3 && GetY(i) == 3 || GetX(i) == dim / 2 && GetY(i) == 3 || GetX(i) == dim - 4 && GetY(i) == 3 || + GetX(i) == 3 && GetY(i) == dim / 2 || GetX(i) == dim / 2 && GetY(i) == dim / 2 || GetX(i) == dim - 4 && GetY(i) == dim / 2 || + GetX(i) == 3 && GetY(i) == dim - 4 || GetX(i) == dim / 2 && GetY(i) == dim - 4 || GetX(i) == dim - 4 && GetY(i) == dim - 4) + pboxList[i].Image = global::go01.Properties.Resources.hoshi; + else if (GetX(i) == 0) + if (GetY(i) == 0) + pboxList[i].Image = global::go01.Properties.Resources.tl; + else if (GetY(i) == dim - 1) + pboxList[i].Image = global::go01.Properties.Resources.bl; + else + pboxList[i].Image = global::go01.Properties.Resources.l; + else if (GetY(i) == 0) + if (GetX(i) == dim - 1) + pboxList[i].Image = global::go01.Properties.Resources.tr; + else + pboxList[i].Image = global::go01.Properties.Resources.t; + else if (GetY(i) == dim - 1) + if (GetX(i) == dim - 1) + pboxList[i].Image = global::go01.Properties.Resources.br; + else + pboxList[i].Image = global::go01.Properties.Resources.b; + else if (GetX(i) == dim - 1) + pboxList[i].Image = global::go01.Properties.Resources.r; + else + pboxList[i].Image = global::go01.Properties.Resources.m; + tableauOccupation[i % dim, i / dim] = Occupant_E.Vide; + pboxList[i].Name = (i % dim).ToString() + ";" + (i / dim).ToString(); + pboxList[i].Click += new System.EventHandler(this.pictureBox1_Click); + conteneur.Controls.Add(pboxList[i]); + } + } + + private void pictureBox1_Click(object sender, EventArgs e) + { + PictureBox pb = (PictureBox)sender; + String[] xy = ((PictureBox)sender).Name.Split(';'); + Console.WriteLine($"{xy[0]};{xy[1]}"); + if (tableauOccupation[int.Parse(xy[0]), int.Parse(xy[1])] == Occupant_E.Vide) + { + tableauOccupation[int.Parse(xy[0]), int.Parse(xy[1])] = (Tour == Joueur_E.Blanc) ? Occupant_E.Blanc : Occupant_E.Noir; + Tour = (Tour+1 == Joueur_E.LAST) ? Joueur_E.Blanc : Tour+1; + } + + + using (Graphics gr = Graphics.FromHwnd((pb.Handle))) + { + SolidBrush b = null; + switch(tableauOccupation[int.Parse(xy[0]), int.Parse(xy[1])]) + { + case Occupant_E.Blanc: + b = new SolidBrush(Color.White); + break; + case Occupant_E.Noir: + b = new SolidBrush(Color.Black); + break; + case Occupant_E.Vide: + b = null; + break; + } + if (b != null) + gr.FillEllipse(b, 1,0, pb.ClientSize.Width-2, pb.ClientSize.Height-1); + else + gr.DrawImage(pb.Image, 0, 0, pb.Width, pb.Height); + } + } + private int[] GetXY(int i) + { + return new int[2] { i % dim, i / dim }; + } + private int[] GetXYStr(string s) + { + String[] xy = s.Split(';'); + return new int[2] { int.Parse(xy[0]), int.Parse(xy[1]) }; + } + private int GetX(int i) + { + return i % dim; + } + private int GetY(int i) + { + return i / dim; + } + + void RechercheTeritoir(int x, int y) + { + List carrefour = new List(); + Point pointCourant = new Point(x, y); + Point pointPrecedent; + Point min = new Point(x, y), max = new Point(x, y); + } + Point RecherchePointSuivant(Point p, ref List carrefour) + { + bool trouver = false; + if () + { + + } + if () + { + + } + if () + { + + } + if () + { + + } + if () + { + + } + if () + { + + } + if () + { + + } + if () + { + + } + return p; + } + } +} diff --git a/go01/Program.cs b/go01/Program.cs new file mode 100644 index 0000000..bc293e7 --- /dev/null +++ b/go01/Program.cs @@ -0,0 +1,22 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace go01 +{ + static class Program + { + /// + /// Point d'entrée principal de l'application. + /// + [STAThread] + static void Main() + { + Application.EnableVisualStyles(); + Application.SetCompatibleTextRenderingDefault(false); + Application.Run(new Form1()); + } + } +} diff --git a/go01/Properties/AssemblyInfo.cs b/go01/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..5ac01ea --- /dev/null +++ b/go01/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// Les informations générales relatives à un assembly dépendent de +// l'ensemble d'attributs suivant. Changez les valeurs de ces attributs pour modifier les informations +// associées à un assembly. +[assembly: AssemblyTitle("go01")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("go01")] +[assembly: AssemblyCopyright("Copyright © 2018")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// L'affectation de la valeur false à ComVisible rend les types invisibles dans cet assembly +// aux composants COM. Si vous devez accéder à un type dans cet assembly à partir de +// COM, affectez la valeur true à l'attribut ComVisible sur ce type. +[assembly: ComVisible(false)] + +// Le GUID suivant est pour l'ID de la typelib si ce projet est exposé à COM +[assembly: Guid("56673c2c-6651-4470-b1e3-5d85f5b95bfe")] + +// Les informations de version pour un assembly se composent des quatre valeurs suivantes : +// +// Version principale +// Version secondaire +// Numéro de build +// Révision +// +// Vous pouvez spécifier toutes les valeurs ou indiquer les numéros de build et de révision par défaut +// en utilisant '*', comme indiqué ci-dessous : +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/go01/Properties/Resources.Designer.cs b/go01/Properties/Resources.Designer.cs new file mode 100644 index 0000000..e0c6c00 --- /dev/null +++ b/go01/Properties/Resources.Designer.cs @@ -0,0 +1,163 @@ +//------------------------------------------------------------------------------ +// +// Ce code a été généré par un outil. +// Version du runtime :4.0.30319.42000 +// +// Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si +// le code est régénéré. +// +//------------------------------------------------------------------------------ + +namespace go01.Properties { + using System; + + + /// + /// Une classe de ressource fortement typée destinée, entre autres, à la consultation des chaînes localisées. + /// + // Cette classe a été générée automatiquement par la classe StronglyTypedResourceBuilder + // à l'aide d'un outil, tel que ResGen ou Visual Studio. + // Pour ajouter ou supprimer un membre, modifiez votre fichier .ResX, puis réexécutez ResGen + // avec l'option /str ou régénérez votre projet VS. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "15.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class Resources { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resources() { + } + + /// + /// Retourne l'instance ResourceManager mise en cache utilisée par cette classe. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("go01.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Remplace la propriété CurrentUICulture du thread actuel pour toutes + /// les recherches de ressources à l'aide de cette classe de ressource fortement typée. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + + /// + /// Recherche une ressource localisée de type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap b { + get { + object obj = ResourceManager.GetObject("b", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Recherche une ressource localisée de type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap bl { + get { + object obj = ResourceManager.GetObject("bl", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Recherche une ressource localisée de type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap br { + get { + object obj = ResourceManager.GetObject("br", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Recherche une ressource localisée de type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap hoshi { + get { + object obj = ResourceManager.GetObject("hoshi", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Recherche une ressource localisée de type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap l { + get { + object obj = ResourceManager.GetObject("l", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Recherche une ressource localisée de type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap m { + get { + object obj = ResourceManager.GetObject("m", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Recherche une ressource localisée de type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap r { + get { + object obj = ResourceManager.GetObject("r", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Recherche une ressource localisée de type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap t { + get { + object obj = ResourceManager.GetObject("t", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Recherche une ressource localisée de type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap tl { + get { + object obj = ResourceManager.GetObject("tl", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Recherche une ressource localisée de type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap tr { + get { + object obj = ResourceManager.GetObject("tr", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + } +} diff --git a/go01/Properties/Resources.resx b/go01/Properties/Resources.resx new file mode 100644 index 0000000..3f0f126 --- /dev/null +++ b/go01/Properties/Resources.resx @@ -0,0 +1,151 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + + ..\resources\b.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\resources\bl.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\resources\br.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\resources\hoshi.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\resources\l.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\resources\m.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\resources\r.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\resources\t.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\resources\tl.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\resources\tr.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + \ No newline at end of file diff --git a/go01/Properties/Settings.Designer.cs b/go01/Properties/Settings.Designer.cs new file mode 100644 index 0000000..6472d0a --- /dev/null +++ b/go01/Properties/Settings.Designer.cs @@ -0,0 +1,30 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace go01.Properties +{ + + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")] + internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase + { + + private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); + + public static Settings Default + { + get + { + return defaultInstance; + } + } + } +} diff --git a/go01/Properties/Settings.settings b/go01/Properties/Settings.settings new file mode 100644 index 0000000..3964565 --- /dev/null +++ b/go01/Properties/Settings.settings @@ -0,0 +1,7 @@ + + + + + + + diff --git a/go01/bin/Debug/go01.exe b/go01/bin/Debug/go01.exe new file mode 100644 index 0000000..0a215b3 Binary files /dev/null and b/go01/bin/Debug/go01.exe differ diff --git a/go01/bin/Debug/go01.exe.config b/go01/bin/Debug/go01.exe.config new file mode 100644 index 0000000..731f6de --- /dev/null +++ b/go01/bin/Debug/go01.exe.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/go01/bin/Debug/go01.pdb b/go01/bin/Debug/go01.pdb new file mode 100644 index 0000000..ee3556f Binary files /dev/null and b/go01/bin/Debug/go01.pdb differ diff --git a/go01/go01.csproj b/go01/go01.csproj new file mode 100644 index 0000000..f9a2d30 --- /dev/null +++ b/go01/go01.csproj @@ -0,0 +1,114 @@ + + + + + Debug + AnyCPU + {56673C2C-6651-4470-B1E3-5D85F5B95BFE} + WinExe + go01 + go01 + v4.6.1 + 512 + true + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + Form + + + Form1.cs + + + + + + Form1.cs + + + ResXFileCodeGenerator + Resources.Designer.cs + Designer + + + True + Resources.resx + True + + + SettingsSingleFileGenerator + Settings.Designer.cs + + + True + Settings.settings + True + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/go01/obj/Debug/DesignTimeResolveAssemblyReferences.cache b/go01/obj/Debug/DesignTimeResolveAssemblyReferences.cache new file mode 100644 index 0000000..2cad163 Binary files /dev/null and b/go01/obj/Debug/DesignTimeResolveAssemblyReferences.cache differ diff --git a/go01/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/go01/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..07f4683 Binary files /dev/null and b/go01/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/go01/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll b/go01/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll new file mode 100644 index 0000000..f1445f4 Binary files /dev/null and b/go01/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll differ diff --git a/go01/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/go01/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs new file mode 100644 index 0000000..e69de29 diff --git a/go01/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/go01/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs new file mode 100644 index 0000000..e69de29 diff --git a/go01/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/go01/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs new file mode 100644 index 0000000..e69de29 diff --git a/go01/obj/Debug/go01.Form1.resources b/go01/obj/Debug/go01.Form1.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/go01/obj/Debug/go01.Form1.resources differ diff --git a/go01/obj/Debug/go01.Properties.Resources.resources b/go01/obj/Debug/go01.Properties.Resources.resources new file mode 100644 index 0000000..40e7e03 Binary files /dev/null and b/go01/obj/Debug/go01.Properties.Resources.resources differ diff --git a/go01/obj/Debug/go01.csproj.CoreCompileInputs.cache b/go01/obj/Debug/go01.csproj.CoreCompileInputs.cache new file mode 100644 index 0000000..d61beaf --- /dev/null +++ b/go01/obj/Debug/go01.csproj.CoreCompileInputs.cache @@ -0,0 +1 @@ +6c0a3e9babc311816707339de36f368c45c1806d diff --git a/go01/obj/Debug/go01.csproj.FileListAbsolute.txt b/go01/obj/Debug/go01.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..ea1b22b --- /dev/null +++ b/go01/obj/Debug/go01.csproj.FileListAbsolute.txt @@ -0,0 +1,20 @@ +G:\users\adrien\nextcloud\iset\2IS\2IS\POO\go01\go01\bin\Debug\go01.exe.config +G:\users\adrien\nextcloud\iset\2IS\2IS\POO\go01\go01\bin\Debug\go01.exe +G:\users\adrien\nextcloud\iset\2IS\2IS\POO\go01\go01\bin\Debug\go01.pdb +G:\users\adrien\nextcloud\iset\2IS\2IS\POO\go01\go01\obj\Debug\go01.Form1.resources +G:\users\adrien\nextcloud\iset\2IS\2IS\POO\go01\go01\obj\Debug\go01.Properties.Resources.resources +G:\users\adrien\nextcloud\iset\2IS\2IS\POO\go01\go01\obj\Debug\go01.csproj.GenerateResource.Cache +G:\users\adrien\nextcloud\iset\2IS\2IS\POO\go01\go01\obj\Debug\go01.csproj.CoreCompileInputs.cache +G:\users\adrien\nextcloud\iset\2IS\2IS\POO\go01\go01\obj\Debug\go01.exe +G:\users\adrien\nextcloud\iset\2IS\2IS\POO\go01\go01\obj\Debug\go01.pdb +C:\Users\adrie\Nextcloud\iset\2IS\2IS\POO\go01\go01\bin\Debug\go01.exe.config +C:\Users\adrie\Nextcloud\iset\2IS\2IS\POO\go01\go01\bin\Debug\go01.exe +C:\Users\adrie\Nextcloud\iset\2IS\2IS\POO\go01\go01\bin\Debug\go01.pdb +C:\Users\adrie\Nextcloud\iset\2IS\2IS\POO\go01\go01\obj\Debug\go01.Form1.resources +C:\Users\adrie\Nextcloud\iset\2IS\2IS\POO\go01\go01\obj\Debug\go01.Properties.Resources.resources +C:\Users\adrie\Nextcloud\iset\2IS\2IS\POO\go01\go01\obj\Debug\go01.csproj.GenerateResource.Cache +C:\Users\adrie\Nextcloud\iset\2IS\2IS\POO\go01\go01\obj\Debug\go01.csproj.CoreCompileInputs.cache +C:\Users\adrie\Nextcloud\iset\2IS\2IS\POO\go01\go01\obj\Debug\go01.exe +C:\Users\adrie\Nextcloud\iset\2IS\2IS\POO\go01\go01\obj\Debug\go01.pdb +C:\Users\adrie\Nextcloud\iset\2IS\2IS\POO\go01\go01\obj\Debug\go01.csprojAssemblyReference.cache +G:\users\adrien\nextcloud\iset\2IS\2IS\POO\go01\go01\obj\Debug\go01.csprojAssemblyReference.cache diff --git a/go01/obj/Debug/go01.csproj.GenerateResource.cache b/go01/obj/Debug/go01.csproj.GenerateResource.cache new file mode 100644 index 0000000..e48978c Binary files /dev/null and b/go01/obj/Debug/go01.csproj.GenerateResource.cache differ diff --git a/go01/obj/Debug/go01.csprojAssemblyReference.cache b/go01/obj/Debug/go01.csprojAssemblyReference.cache new file mode 100644 index 0000000..5c90a47 Binary files /dev/null and b/go01/obj/Debug/go01.csprojAssemblyReference.cache differ diff --git a/go01/obj/Debug/go01.exe b/go01/obj/Debug/go01.exe new file mode 100644 index 0000000..0a215b3 Binary files /dev/null and b/go01/obj/Debug/go01.exe differ diff --git a/go01/obj/Debug/go01.pdb b/go01/obj/Debug/go01.pdb new file mode 100644 index 0000000..ee3556f Binary files /dev/null and b/go01/obj/Debug/go01.pdb differ diff --git a/go01/resources/b.png b/go01/resources/b.png new file mode 100644 index 0000000..0692ea3 Binary files /dev/null and b/go01/resources/b.png differ diff --git a/go01/resources/bl.png b/go01/resources/bl.png new file mode 100644 index 0000000..b544329 Binary files /dev/null and b/go01/resources/bl.png differ diff --git a/go01/resources/br.png b/go01/resources/br.png new file mode 100644 index 0000000..9b6666b Binary files /dev/null and b/go01/resources/br.png differ diff --git a/go01/resources/hoshi.png b/go01/resources/hoshi.png new file mode 100644 index 0000000..a945231 Binary files /dev/null and b/go01/resources/hoshi.png differ diff --git a/go01/resources/l.png b/go01/resources/l.png new file mode 100644 index 0000000..b9ce803 Binary files /dev/null and b/go01/resources/l.png differ diff --git a/go01/resources/m.png b/go01/resources/m.png new file mode 100644 index 0000000..52b661b Binary files /dev/null and b/go01/resources/m.png differ diff --git a/go01/resources/r.png b/go01/resources/r.png new file mode 100644 index 0000000..e68f6f1 Binary files /dev/null and b/go01/resources/r.png differ diff --git a/go01/resources/t.png b/go01/resources/t.png new file mode 100644 index 0000000..9036063 Binary files /dev/null and b/go01/resources/t.png differ diff --git a/go01/resources/tl.png b/go01/resources/tl.png new file mode 100644 index 0000000..8dfc6e8 Binary files /dev/null and b/go01/resources/tl.png differ diff --git a/go01/resources/tr.png b/go01/resources/tr.png new file mode 100644 index 0000000..55798da Binary files /dev/null and b/go01/resources/tr.png differ diff --git a/goban.xcf b/goban.xcf new file mode 100644 index 0000000..ac141ba Binary files /dev/null and b/goban.xcf differ