Skip to content

Tables #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,8 @@ This game was assigned to me as a semester end project. I made this entirely in

The game requires 10 table to be in the same folder as the build itself in order to run successfully.

Download all the tables in /Tables/ and keep them in the same folder as the .exe file that has been provided
or the same folder as the program you built.

If you remove the CheckTableFilesExist() function and run the program without the tables, empty tables would show up as there
is no pre-defined table in the program.
9 changes: 9 additions & 0 deletions Tables/SudokuPuzzle1 - Solved.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
5 7 3 4 9 8 2 1 6
2 6 4 5 1 7 8 3 9
9 8 1 2 3 6 7 4 5
8 4 7 1 5 9 6 2 3
6 2 5 7 8 3 4 9 1
3 1 9 6 2 4 5 8 7
7 9 2 8 6 1 3 5 4
1 5 6 3 4 2 9 7 8
4 3 8 9 7 5 1 6 2
9 changes: 9 additions & 0 deletions Tables/SudokuPuzzle1.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
_ _ 3 _ 9 8 2 _ 6
_ _ 4 5 _ _ _ _ 9
9 8 _ _ 3 6 _ 4 _
_ 4 7 1 _ 9 6 _ _
_ 2 5 _ _ 3 _ _ _
_ _ _ 6 2 4 _ _ 7
_ _ _ _ _ 1 3 _ _
1 5 _ _ 4 2 9 7 _
4 _ 8 9 _ _ 1 _ 2
9 changes: 9 additions & 0 deletions Tables/SudokuPuzzle10 - Solved.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
2 5 4 9 3 1 6 8 7
1 6 3 7 4 8 5 9 2
7 8 9 2 6 5 4 3 1
8 9 1 4 7 6 3 2 5
5 7 2 1 8 3 9 6 4
3 4 6 5 9 2 7 1 8
4 3 7 8 2 9 1 5 6
9 1 8 6 5 7 2 4 3
6 2 5 3 1 4 8 7 9
9 changes: 9 additions & 0 deletions Tables/SudokuPuzzle10.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
2 5 4 _ _ _ 6 8 7
1 _ _ 7 _ _ _ 9 _
7 _ _ _ _ 5 4 3 _
8 _ 1 _ _ 6 _ _ _
_ _ _ _ 8 3 9 6 4
_ 4 6 5 9 2 _ 1 _
4 3 _ 8 2 _ 1 5 6
_ 1 8 _ 5 _ _ 4 3
6 _ 5 _ 1 _ _ 7 _
9 changes: 9 additions & 0 deletions Tables/SudokuPuzzle2 - Solved.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
7 6 8 9 4 3 1 2 5
1 9 5 2 7 6 3 8 4
4 2 3 5 8 1 9 6 7
5 8 6 1 3 7 4 9 2
9 7 4 6 2 5 8 1 3
3 1 2 4 9 8 7 5 6
8 4 9 7 5 2 6 3 1
2 3 1 8 6 4 5 7 9
6 5 7 3 1 9 2 4 8
9 changes: 9 additions & 0 deletions Tables/SudokuPuzzle2.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
_ _ 8 9 4 _ 1 _ _
1 9 5 _ 7 _ _ 8 _
4 2 3 5 8 1 9 _ 7
5 8 6 _ _ _ _ 9 2
9 _ 4 _ 2 _ _ 1 _
3 _ _ _ _ 8 7 5 6
_ _ _ 7 _ _ 6 3 _
_ 3 _ 8 6 _ _ _ 9
_ 5 _ _ _ 9 _ 4 _
9 changes: 9 additions & 0 deletions Tables/SudokuPuzzle3 - Solved.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
2 1 4 3 8 5 7 9 6
6 5 8 9 1 7 4 3 2
7 3 9 2 4 6 5 8 1
1 9 6 7 3 4 8 2 5
4 7 3 8 5 2 6 1 9
8 2 5 6 9 1 3 4 7
3 6 7 4 2 9 1 5 8
9 8 1 5 7 3 2 6 4
5 4 2 1 6 8 9 7 3
9 changes: 9 additions & 0 deletions Tables/SudokuPuzzle3.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
2 _ 4 _ _ _ 7 _ _
6 5 8 _ 1 _ _ _ 2
7 _ 9 _ _ _ _ 8 _
_ _ _ 7 _ 4 8 _ _
4 _ 3 8 _ 2 6 _ 9
_ 2 5 _ _ _ 3 4 _
3 _ _ 4 2 9 _ _ 8
_ 8 _ 5 7 _ 2 _ 4
5 _ 2 1 6 _ 9 7 _
9 changes: 9 additions & 0 deletions Tables/SudokuPuzzle4 - Solved.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
2 5 3 8 9 6 4 7 1
8 1 6 7 2 4 5 9 3
4 9 7 1 5 3 8 2 6
1 7 8 3 6 5 2 4 9
6 2 5 4 7 9 1 3 8
9 3 4 2 8 1 7 6 5
5 6 2 9 4 8 3 1 7
7 8 1 6 3 2 9 5 4
3 4 9 5 1 7 6 8 2
9 changes: 9 additions & 0 deletions Tables/SudokuPuzzle4.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
_ 5 _ _ _ _ _ 7 1
_ 1 6 _ _ 4 _ 9 3
_ _ 7 _ _ _ _ _ _
1 _ _ 3 _ _ 2 4 9
6 _ _ _ 7 _ _ 3 8
_ 3 4 2 8 1 _ _ 5
_ _ 2 9 _ 8 _ _ 7
7 _ _ 6 _ 2 _ 5 _
3 4 9 5 1 7 6 8 _
9 changes: 9 additions & 0 deletions Tables/SudokuPuzzle5 - Solved.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
4 7 1 2 8 3 9 6 5
6 3 2 9 5 4 8 7 1
5 9 8 6 7 1 3 2 4
7 8 3 5 4 2 1 9 6
1 2 6 8 3 9 5 4 7
9 4 5 1 6 7 2 8 3
2 1 7 4 9 5 6 3 8
3 6 9 7 1 8 4 5 2
8 5 4 3 2 6 7 1 9
9 changes: 9 additions & 0 deletions Tables/SudokuPuzzle5.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
_ _ 1 2 8 3 9 _ _
_ 3 _ 9 5 _ _ _ 1
_ _ _ 6 7 1 _ 2 _
7 8 3 _ _ 2 1 _ _
1 _ 6 _ _ 9 5 _ 7
_ _ 5 _ _ 7 2 _ _
_ _ _ _ 9 5 6 3 _
_ 6 9 7 _ 8 4 5 _
8 _ _ _ _ 6 _ _ 9
9 changes: 9 additions & 0 deletions Tables/SudokuPuzzle6 - Solved.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
9 2 1 6 5 3 7 4 8
6 4 8 1 9 7 2 3 5
3 5 7 4 8 2 9 6 1
1 7 3 5 6 9 8 2 4
8 6 4 2 7 1 5 9 3
5 9 2 3 4 8 1 7 6
4 8 6 9 2 5 3 1 7
2 3 5 7 1 6 4 8 9
7 1 9 8 3 4 6 5 2
9 changes: 9 additions & 0 deletions Tables/SudokuPuzzle6.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
9 2 1 6 5 _ _ _ 8
6 4 8 1 9 _ _ _ 5
3 _ 7 4 8 2 9 6 _
_ 7 3 _ 6 _ 8 _ 4
8 _ _ _ 7 _ 5 _ _
_ 9 _ _ 4 8 _ 7 _
4 _ 6 _ 2 _ 3 _ 7
_ _ _ _ _ 6 _ 8 _
7 _ 9 8 3 4 6 _ 2
9 changes: 9 additions & 0 deletions Tables/SudokuPuzzle7 - Solved.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
4 8 7 1 9 2 6 5 3
5 3 6 8 7 4 1 2 9
9 2 1 6 3 5 4 7 8
6 1 8 3 2 7 5 9 4
2 4 3 5 1 9 8 6 7
7 9 5 4 8 6 3 1 2
3 6 9 2 5 8 7 4 1
1 7 4 9 6 3 2 8 5
8 5 2 7 4 1 9 3 6
9 changes: 9 additions & 0 deletions Tables/SudokuPuzzle7.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
4 8 _ _ _ 2 6 _ 3
5 3 6 _ 7 _ _ 2 _
9 _ _ 6 _ _ 4 7 8
6 _ 8 3 _ _ _ _ _
_ 4 3 5 1 _ 8 6 _
7 _ 5 _ 8 _ 3 _ _
3 _ _ 2 _ _ 7 4 _
1 _ _ 9 _ _ _ _ 5
_ 5 _ 7 4 1 _ _ _
9 changes: 9 additions & 0 deletions Tables/SudokuPuzzle8 - Solved.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
4 2 6 9 5 3 8 1 7
7 8 1 2 6 4 3 5 9
9 3 5 8 7 1 6 4 2
5 7 4 6 9 2 1 3 8
1 9 2 3 8 5 7 6 4
8 6 3 1 4 7 9 2 5
3 4 7 5 1 8 2 9 6
2 5 9 7 3 6 4 8 1
6 1 8 4 2 9 5 7 3
9 changes: 9 additions & 0 deletions Tables/SudokuPuzzle8.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
_ 2 6 9 5 _ 8 1 _
7 8 _ 2 6 4 _ _ 9
_ _ _ _ _ 1 _ _ _
_ _ 4 _ _ 2 1 3 8
_ 9 _ 3 8 5 7 _ 4
_ _ 3 1 4 7 9 _ 5
_ 4 _ _ _ 8 _ _ _
_ 5 _ 7 _ 6 _ 8 1
_ 1 8 _ 2 _ _ 7 _
9 changes: 9 additions & 0 deletions Tables/SudokuPuzzle9 - Solved.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
2 6 7 3 8 1 5 4 9
8 5 9 2 4 7 1 6 3
3 1 4 5 9 6 7 8 2
6 4 1 9 2 8 3 5 7
9 3 5 6 7 4 2 1 8
7 2 8 1 5 3 6 9 4
1 8 6 4 3 2 9 7 5
5 7 2 8 1 9 4 3 6
4 9 3 7 6 5 8 2 1
9 changes: 9 additions & 0 deletions Tables/SudokuPuzzle9.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
2 6 7 3 _ _ _ _ 9
8 _ 9 _ 4 _ 1 6 _
3 _ _ 5 9 _ 7 8 2
6 4 _ _ _ _ 3 5 _
_ _ _ 6 _ _ 2 1 8
_ _ _ _ 5 _ 6 9 4
1 _ 6 _ _ 2 _ _ _
5 _ 2 _ 1 9 _ 3 _
_ _ 3 _ _ 5 _ 2 _