From 460e3c025203cfe188d9068d8c3b7dd0ffb4a4ef Mon Sep 17 00:00:00 2001 From: Anton Date: Thu, 31 Oct 2024 18:52:51 +0400 Subject: [PATCH 1/7] =?UTF-8?q?=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D0=BB?= =?UTF-8?q?=D0=B8=20b=3D0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WindowsLaba16/WindowsLaba16/WindowsLaba16.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/WindowsLaba16/WindowsLaba16/WindowsLaba16.cpp b/WindowsLaba16/WindowsLaba16/WindowsLaba16.cpp index d269899..09ee4c1 100644 --- a/WindowsLaba16/WindowsLaba16/WindowsLaba16.cpp +++ b/WindowsLaba16/WindowsLaba16/WindowsLaba16.cpp @@ -8,6 +8,9 @@ #define N 30 #define M 30 + +int b = 0; + // Коды ячеек: // 0 - свободна // 1 - игрок -- 2.25.1 From c92a7346b8f0f4b51014298ae0818f121ab0e4ac Mon Sep 17 00:00:00 2001 From: Anton Date: Thu, 31 Oct 2024 18:53:23 +0400 Subject: [PATCH 2/7] =?UTF-8?q?=D1=81=D0=BE=D0=B7=D0=B4=D0=B0=D0=BB=D0=B8?= =?UTF-8?q?=20R=20=3D0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WindowsLaba16/WindowsLaba16/WindowsLaba16.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/WindowsLaba16/WindowsLaba16/WindowsLaba16.cpp b/WindowsLaba16/WindowsLaba16/WindowsLaba16.cpp index 09ee4c1..e100444 100644 --- a/WindowsLaba16/WindowsLaba16/WindowsLaba16.cpp +++ b/WindowsLaba16/WindowsLaba16/WindowsLaba16.cpp @@ -11,6 +11,7 @@ int b = 0; +int R = 0; // Коды ячеек: // 0 - свободна // 1 - игрок -- 2.25.1 From 85225c78e91c773dae66a5992093342c80e42d80 Mon Sep 17 00:00:00 2001 From: Anton Date: Thu, 31 Oct 2024 19:05:11 +0400 Subject: [PATCH 3/7] =?UTF-8?q?=D1=81=D0=B4=D0=B2=D0=B8=D0=BD=D1=83=D0=BB?= =?UTF-8?q?=20=D1=81=D1=82=D1=80=D0=BE=D0=BA=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WindowsLaba16/WindowsLaba16/WindowsLaba16.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/WindowsLaba16/WindowsLaba16/WindowsLaba16.cpp b/WindowsLaba16/WindowsLaba16/WindowsLaba16.cpp index e100444..ceb1a16 100644 --- a/WindowsLaba16/WindowsLaba16/WindowsLaba16.cpp +++ b/WindowsLaba16/WindowsLaba16/WindowsLaba16.cpp @@ -10,7 +10,6 @@ #define M 30 int b = 0; - int R = 0; // Коды ячеек: // 0 - свободна -- 2.25.1 From c2c753d2f73312ce2fe8545eb136388b74708e13 Mon Sep 17 00:00:00 2001 From: Anton Date: Thu, 31 Oct 2024 19:06:05 +0400 Subject: [PATCH 4/7] =?UTF-8?q?=D0=B7=D0=B0=D0=BC=D0=B5=D0=BD=D0=B8=D0=BB?= =?UTF-8?q?=20b=20=D0=BD=D0=B0=20=20N?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WindowsLaba16/WindowsLaba16/WindowsLaba16.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WindowsLaba16/WindowsLaba16/WindowsLaba16.cpp b/WindowsLaba16/WindowsLaba16/WindowsLaba16.cpp index ceb1a16..d2c0100 100644 --- a/WindowsLaba16/WindowsLaba16/WindowsLaba16.cpp +++ b/WindowsLaba16/WindowsLaba16/WindowsLaba16.cpp @@ -9,7 +9,7 @@ #define N 30 #define M 30 -int b = 0; +int N = 0; int R = 0; // Коды ячеек: // 0 - свободна -- 2.25.1 From 58baa091a43ee55e54d8e4bac87801b09ed62f23 Mon Sep 17 00:00:00 2001 From: Anton Date: Thu, 31 Oct 2024 19:08:38 +0400 Subject: [PATCH 5/7] =?UTF-8?q?G=20=D1=81=D0=B4=D0=B5=D0=BB=D0=B0=D0=BD?= =?UTF-8?q?=D0=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WindowsLaba16/WindowsLaba16/WindowsLaba16.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WindowsLaba16/WindowsLaba16/WindowsLaba16.cpp b/WindowsLaba16/WindowsLaba16/WindowsLaba16.cpp index d2c0100..500309f 100644 --- a/WindowsLaba16/WindowsLaba16/WindowsLaba16.cpp +++ b/WindowsLaba16/WindowsLaba16/WindowsLaba16.cpp @@ -9,7 +9,7 @@ #define N 30 #define M 30 -int N = 0; +int G = 0; int R = 0; // Коды ячеек: // 0 - свободна -- 2.25.1 From 1081b58d8034657ee581058a80003f4e066de0db Mon Sep 17 00:00:00 2001 From: Anton Date: Thu, 31 Oct 2024 19:30:12 +0400 Subject: [PATCH 6/7] =?UTF-8?q?=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5=20L?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WindowsLaba16/WindowsLaba16/WindowsLaba16.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/WindowsLaba16/WindowsLaba16/WindowsLaba16.cpp b/WindowsLaba16/WindowsLaba16/WindowsLaba16.cpp index 500309f..7ad76d7 100644 --- a/WindowsLaba16/WindowsLaba16/WindowsLaba16.cpp +++ b/WindowsLaba16/WindowsLaba16/WindowsLaba16.cpp @@ -11,6 +11,7 @@ int G = 0; int R = 0; +int L = 1; // Коды ячеек: // 0 - свободна // 1 - игрок -- 2.25.1 From 1fec8faf2b73adff43332d9cdce105b7ad715bbc Mon Sep 17 00:00:00 2001 From: Anton Date: Thu, 31 Oct 2024 19:30:40 +0400 Subject: [PATCH 7/7] =?UTF-8?q?=D0=B8=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=B8?= =?UTF-8?q?=D0=BB=20=D0=BD=D0=B0=20=20T?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WindowsLaba16/WindowsLaba16/WindowsLaba16.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/WindowsLaba16/WindowsLaba16/WindowsLaba16.cpp b/WindowsLaba16/WindowsLaba16/WindowsLaba16.cpp index 7ad76d7..4f78f20 100644 --- a/WindowsLaba16/WindowsLaba16/WindowsLaba16.cpp +++ b/WindowsLaba16/WindowsLaba16/WindowsLaba16.cpp @@ -10,8 +10,9 @@ #define M 30 int G = 0; -int R = 0; +int T = 0; int L = 1; + // Коды ячеек: // 0 - свободна // 1 - игрок -- 2.25.1