From f2c9793d164fede6a019afe6716248e88b6aa573 Mon Sep 17 00:00:00 2001 From: Ross-Li <61273074+Ross-Li@users.noreply.github.com> Date: Tue, 7 Jun 2022 16:31:49 +0800 Subject: [PATCH 1/3] Correct the little error in valid() function --- solver (text).py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/solver (text).py b/solver (text).py index 8032236..03c9716 100644 --- a/solver (text).py +++ b/solver (text).py @@ -39,7 +39,7 @@ def valid(bo, pos, num): # Check Col for i in range(0, len(bo)): - if bo[i][pos[1]] == num and pos[1] != i: + if bo[i][pos[1]] == num and pos[0] != i: return False # Check box From dc18a51310adcf6a0e879a63a5f43af9fdc9b4c2 Mon Sep 17 00:00:00 2001 From: Ross-Li <61273074+Ross-Li@users.noreply.github.com> Date: Tue, 7 Jun 2022 17:33:47 +0800 Subject: [PATCH 2/3] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 878682d..cd0fd48 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ +THIS FORK IS CREATED BY ME FOR THE PURPOSE OF AN ERROR CORRECTION PULL REQUEST. + # Sudoku-GUI-Solver This is a sudoku solver using the backtracking algorithm. It includes a graphical GUI as well as a text based version. From 03aa4daaa4c6fdaf85fdd84de0a9e7070fe3d9f3 Mon Sep 17 00:00:00 2001 From: Ross-Li <61273074+Ross-Li@users.noreply.github.com> Date: Tue, 7 Jun 2022 17:36:21 +0800 Subject: [PATCH 3/3] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index cd0fd48..fbc3a79 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -THIS FORK IS CREATED BY ME FOR THE PURPOSE OF AN ERROR CORRECTION PULL REQUEST. +# THIS FORK IS CREATED BY ME FOR THE PURPOSE OF AN ERROR CORRECTION PULL REQUEST TO THE ORIGINAL REPO. # Sudoku-GUI-Solver This is a sudoku solver using the backtracking algorithm. It includes a graphical GUI as well as a text based version.