-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
868b838
commit 90cb9d3
Showing
19 changed files
with
1,167,218 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio Version 17 | ||
VisualStudioVersion = 17.1.32414.318 | ||
MinimumVisualStudioVersion = 10.0.40219.1 | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "sodoku", "sodoku\sodoku.csproj", "{18034C2E-F434-4FE3-9D77-22EF2EF91B15}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Any CPU = Debug|Any CPU | ||
Release|Any CPU = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{18034C2E-F434-4FE3-9D77-22EF2EF91B15}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{18034C2E-F434-4FE3-9D77-22EF2EF91B15}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{18034C2E-F434-4FE3-9D77-22EF2EF91B15}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{18034C2E-F434-4FE3-9D77-22EF2EF91B15}.Release|Any CPU.Build.0 = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
GlobalSection(ExtensibilityGlobals) = postSolution | ||
SolutionGuid = {92E80615-EE0F-4AEB-9DD8-8C8802CD1A60} | ||
EndGlobalSection | ||
EndGlobal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
using System; | ||
|
||
namespace sodoku | ||
{ | ||
internal class Program | ||
{ | ||
static void Main(string[] args) | ||
{ | ||
SodokuGame Game1 = new SodokuGame("../../../data/input/puzzle1.txt"); | ||
Game1.Start(); | ||
|
||
//SodokuGame Game2 = new SodokuGame("../../../data/input/puzzle2.txt"); | ||
//Game2.Start(); | ||
|
||
//SodokuGame Game3 = new SodokuGame("../../../data/input/puzzle3.txt"); | ||
//Game3.Start(); | ||
|
||
//SodokuGame Game4 = new SodokuGame("../../../data/input/puzzle4.txt"); | ||
//Game4.Start(); | ||
|
||
//SodokuGame Game5 = new SodokuGame("../../../data/input/puzzle5.txt"); | ||
//Game5.Start(); | ||
|
||
|
||
|
||
Console.WriteLine(); | ||
Console.WriteLine("Hello World!"); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
using System; | ||
using System.Collections; | ||
using System.Collections.Generic; | ||
using System.Drawing; | ||
using System.Linq; | ||
using System.Text; | ||
|
||
namespace sodoku | ||
{ | ||
public class SodokuGame : SodokuGameBase | ||
{ | ||
// Example Board Matrix | ||
/* | ||
8 | 1 2 3 4 5 6 7 8 9 | ||
| | ||
7 | 1 2 3 4 5 6 7 8 9 | ||
| | ||
6 | 1 2 3 4 5 6 7 8 9 | ||
| | ||
5 | 1 2 3 4 5 6 7 8 9 | ||
| | ||
4 | 1 2 3 4 5 6 7 8 9 | ||
| | ||
3 | 1 2 3 4 5 6 7 8 9 | ||
| | ||
2 | 1 2 3 4 5 6 7 8 9 | ||
| | ||
1 | 1 2 3 4 5 6 7 8 9 | ||
| | ||
0 | 1 2 3 4 5 6 7 8 9 | ||
---------------------------------- | ||
0 1 2 3 4 5 6 7 8 | ||
*/ | ||
|
||
public SodokuGame(string filename) | ||
{ | ||
file = filename; | ||
matrix = new Dictionary<Point, int>(); | ||
} | ||
} | ||
} |
Oops, something went wrong.