From 4576089528727cdec13929ad94befc7dec26158c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Mouyon?= Date: Sat, 4 May 2024 08:56:03 +0200 Subject: [PATCH 01/10] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'Documentatio?= =?UTF-8?q?n/doxygen/Doxyfile'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Documentation/doxygen/Doxyfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/doxygen/Doxyfile b/Documentation/doxygen/Doxyfile index b8a2748..0d9c16d 100644 --- a/Documentation/doxygen/Doxyfile +++ b/Documentation/doxygen/Doxyfile @@ -223,7 +223,7 @@ GENERATE_HTML = YES HTML_OUTPUT = html HTML_FILE_EXTENSION = .html HTML_HEADER = -HTML_FOOTER = footer.html +HTML_FOOTER = HTML_STYLESHEET = HTML_EXTRA_STYLESHEET = HTML_EXTRA_FILES = images/CodeFirst.png images/clubinfo.png From 04e5bb90ec1a8a468e73ae0cff2592d69e1568c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Mouyon?= Date: Sat, 4 May 2024 08:57:26 +0200 Subject: [PATCH 02/10] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'Documentatio?= =?UTF-8?q?n/doxygen/Doxyfile'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Documentation/doxygen/Doxyfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/doxygen/Doxyfile b/Documentation/doxygen/Doxyfile index 0d9c16d..53c2d4c 100644 --- a/Documentation/doxygen/Doxyfile +++ b/Documentation/doxygen/Doxyfile @@ -6,7 +6,7 @@ PROJECT_NAME = "QwirkleProject" PROJECT_NUMBER = 1.0.0 PROJECT_BRIEF = "Projet realisé avec Jules Lascret, Remy Portet, Jérémy Mouyon (leader)" PROJECT_LOGO = images/mylogo.png -OUTPUT_DIRECTORY = /Documentations/doxygen +OUTPUT_DIRECTORY = /docs/doxygen CREATE_SUBDIRS = NO ALLOW_UNICODE_NAMES = NO OUTPUT_LANGUAGE = English From 88637fd696f017ea9e27086af0afc7f5b3fac099 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Mouyon?= Date: Sat, 4 May 2024 08:59:39 +0200 Subject: [PATCH 03/10] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'Documentatio?= =?UTF-8?q?n/doxygen/Doxyfile'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Documentation/doxygen/Doxyfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/doxygen/Doxyfile b/Documentation/doxygen/Doxyfile index 53c2d4c..d3d3f41 100644 --- a/Documentation/doxygen/Doxyfile +++ b/Documentation/doxygen/Doxyfile @@ -125,7 +125,7 @@ WARN_LOGFILE = # Configuration options related to the input files #--------------------------------------------------------------------------- -INPUT = ../../Sources +INPUT = ./Qwirkle INPUT_ENCODING = UTF-8 FILE_PATTERNS = *.c \ *.cc \ From 15e8ad7209341f3f15df0823cf85e3145f5f7670 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Mouyon?= Date: Sat, 4 May 2024 09:01:51 +0200 Subject: [PATCH 04/10] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'Documentatio?= =?UTF-8?q?n/doxygen/Doxyfile'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Documentation/doxygen/Doxyfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/doxygen/Doxyfile b/Documentation/doxygen/Doxyfile index d3d3f41..a62f627 100644 --- a/Documentation/doxygen/Doxyfile +++ b/Documentation/doxygen/Doxyfile @@ -125,7 +125,7 @@ WARN_LOGFILE = # Configuration options related to the input files #--------------------------------------------------------------------------- -INPUT = ./Qwirkle +INPUT = Qwirkle INPUT_ENCODING = UTF-8 FILE_PATTERNS = *.c \ *.cc \ From 8e4ba7e97518c3f2836ba0e88cc958d36a99ef9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Mouyon?= Date: Sat, 4 May 2024 09:05:22 +0200 Subject: [PATCH 05/10] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'Documentatio?= =?UTF-8?q?n/doxygen/Doxyfile'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Documentation/doxygen/Doxyfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/doxygen/Doxyfile b/Documentation/doxygen/Doxyfile index a62f627..d3d3f41 100644 --- a/Documentation/doxygen/Doxyfile +++ b/Documentation/doxygen/Doxyfile @@ -125,7 +125,7 @@ WARN_LOGFILE = # Configuration options related to the input files #--------------------------------------------------------------------------- -INPUT = Qwirkle +INPUT = ./Qwirkle INPUT_ENCODING = UTF-8 FILE_PATTERNS = *.c \ *.cc \ From aaa0b8ae20b0b2c3242c0ae03faa025bb372823c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Mouyon?= Date: Sat, 4 May 2024 09:08:45 +0200 Subject: [PATCH 06/10] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'Documentatio?= =?UTF-8?q?n/doxygen/Doxyfile'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Documentation/doxygen/Doxyfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/doxygen/Doxyfile b/Documentation/doxygen/Doxyfile index d3d3f41..5932063 100644 --- a/Documentation/doxygen/Doxyfile +++ b/Documentation/doxygen/Doxyfile @@ -226,7 +226,7 @@ HTML_HEADER = HTML_FOOTER = HTML_STYLESHEET = HTML_EXTRA_STYLESHEET = -HTML_EXTRA_FILES = images/CodeFirst.png images/clubinfo.png +HTML_EXTRA_FILES = HTML_COLORSTYLE_HUE = 215 HTML_COLORSTYLE_SAT = 45 HTML_COLORSTYLE_GAMMA = 240 From cd90b0a4098fa8354596f04e170c91ab6f1e6215 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Mouyon?= Date: Sat, 4 May 2024 09:09:38 +0200 Subject: [PATCH 07/10] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'Documentatio?= =?UTF-8?q?n/doxygen/Doxyfile'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Documentation/doxygen/Doxyfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/doxygen/Doxyfile b/Documentation/doxygen/Doxyfile index 5932063..2352bdc 100644 --- a/Documentation/doxygen/Doxyfile +++ b/Documentation/doxygen/Doxyfile @@ -125,7 +125,7 @@ WARN_LOGFILE = # Configuration options related to the input files #--------------------------------------------------------------------------- -INPUT = ./Qwirkle +INPUT = ./Qwirkle/QwirkleClassLibrary INPUT_ENCODING = UTF-8 FILE_PATTERNS = *.c \ *.cc \ From baed573e043c53d086e9f07ee31e48ade45ee168 Mon Sep 17 00:00:00 2001 From: "jules.lascret" Date: Sat, 4 May 2024 09:09:41 +0200 Subject: [PATCH 08/10] optimized Board.cs --- Qwirkle/QwirkleClassLibrary/Board.cs | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Qwirkle/QwirkleClassLibrary/Board.cs b/Qwirkle/QwirkleClassLibrary/Board.cs index 9bd1c95..df2f2e8 100644 --- a/Qwirkle/QwirkleClassLibrary/Board.cs +++ b/Qwirkle/QwirkleClassLibrary/Board.cs @@ -30,13 +30,11 @@ namespace QwirkleClassLibrary { for (int i = 0; i < cells.Count; i++) { - if (this.cells[i].GetX == x && this.cells[i].GetY == y) + if (this.cells[i].GetX != x || this.cells[i].GetY != y) continue; + if (cells[i].IsFree == true) { - if (cells[i].IsFree == true) - { - return cells[i].SetTile(tile); + return cells[i].SetTile(tile); - } } } return false; From b5aa8558c77d7d28afb0c795b64e423bf89b0aec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Mouyon?= Date: Sat, 4 May 2024 09:11:17 +0200 Subject: [PATCH 09/10] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'Documentatio?= =?UTF-8?q?n/doxygen/Doxyfile'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Documentation/doxygen/Doxyfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/doxygen/Doxyfile b/Documentation/doxygen/Doxyfile index 2352bdc..f02cf44 100644 --- a/Documentation/doxygen/Doxyfile +++ b/Documentation/doxygen/Doxyfile @@ -125,7 +125,7 @@ WARN_LOGFILE = # Configuration options related to the input files #--------------------------------------------------------------------------- -INPUT = ./Qwirkle/QwirkleClassLibrary +INPUT = ../Qwirkle/QwirkleClassLibrary INPUT_ENCODING = UTF-8 FILE_PATTERNS = *.c \ *.cc \ From facc4ef5536821739035a34826158db6533dd64f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Mouyon?= Date: Sat, 4 May 2024 09:12:58 +0200 Subject: [PATCH 10/10] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'Documentatio?= =?UTF-8?q?n/doxygen/Doxyfile'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Documentation/doxygen/Doxyfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/doxygen/Doxyfile b/Documentation/doxygen/Doxyfile index f02cf44..68ddcdb 100644 --- a/Documentation/doxygen/Doxyfile +++ b/Documentation/doxygen/Doxyfile @@ -125,7 +125,7 @@ WARN_LOGFILE = # Configuration options related to the input files #--------------------------------------------------------------------------- -INPUT = ../Qwirkle/QwirkleClassLibrary +INPUT = Qwirkle INPUT_ENCODING = UTF-8 FILE_PATTERNS = *.c \ *.cc \